about summary refs log tree commit diff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-06T09·31+0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-06T09·31+0200
commit4361a4331f1b2eb3fcfd954c96de353c9d516508 (patch)
tree100fdd9da05e6211645f72672cd6830f1a198c68 /src/libstore/download.hh
parent2825e05d21ecabc8b8524836baf0b9b05da993c6 (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.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index da55df7a6e71..ff38a2870cc0 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;