http: Add progress to missing request.

Oops, I guess I had things still cached.
This commit is contained in:
Unknown W. Brackets 2021-05-02 11:31:40 -07:00 committed by GitHub
parent 630f071d53
commit 4462b0c612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ size_t HTTPFileLoader::ReadAt(s64 absolutePos, size_t bytes, void *data, Flags f
snprintf(requestHeaders, sizeof(requestHeaders),
"Range: bytes=%lld-%lld\r\n", absolutePos, absoluteEnd - 1);
int err = client_.SendRequest("GET", url_.Resource().c_str(), requestHeaders, nullptr);
int err = client_.SendRequest("GET", url_.Resource().c_str(), requestHeaders, &progress_);
if (err < 0) {
latestError_ = "Invalid response reading data";
Disconnect();