diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-08-06 11:31:14 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-08-06 11:31:14 +0200 |
commit | 4361a4331f1b2eb3fcfd954c96de353c9d516508 (patch) | |
tree | 100fdd9da05e6211645f72672cd6830f1a198c68 /src/libstore/download.hh | |
parent | 2825e05d21ecabc8b8524836baf0b9b05da993c6 (diff) |
Fix reporting of HTTP body size when a result callback is used
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r-- | src/libstore/download.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh index da55df7a6..ff38a2870 100644 --- a/src/libstore/download.hh +++ b/src/libstore/download.hh @@ -38,6 +38,7 @@ struct DownloadResult std::string etag; std::string effectiveUrl; std::shared_ptr<std::string> data; + uint64_t bodySize = 0; }; class Store; |