1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 09:49:36 +01:00

Fix reporting of HTTP body size when a result callback is used

This commit is contained in:
Eelco Dolstra 2018-08-06 11:31:14 +02:00
parent 2825e05d21
commit 4361a4331f
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 5 additions and 1 deletions

View file

@ -38,6 +38,7 @@ struct DownloadResult
std::string etag;
std::string effectiveUrl;
std::shared_ptr<std::string> data;
uint64_t bodySize = 0;
};
class Store;