diff options
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | src/zen/cmds/builds_cmd.cpp | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a0131a531..43443828b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ ## +- Bugfix: `zen builds` multipart of dowload of large chunks could result in crash. + +## 5.6.4 - Improvement: `zen builds` now scavenges previous download locations for data to reduce download size, enabled by default, disable with `--enable-scavenge=false` - Improvement: `zen builds upload` Fixed and improved layout of end of run stats output - Improvement: `zen builds` Reduced clutter and added timing to some logging entries when `--verbose` is enabled diff --git a/src/zen/cmds/builds_cmd.cpp b/src/zen/cmds/builds_cmd.cpp index b33ec659d..2562d8244 100644 --- a/src/zen/cmds/builds_cmd.cpp +++ b/src/zen/cmds/builds_cmd.cpp @@ -6437,7 +6437,8 @@ namespace { Work, NetworkPool, DownloadStats, - [&, RemoteChunkIndex, ChunkTargetPtrs](IoBuffer&& Payload) mutable { + [&, TotalPartWriteCount, TotalRequestCount, RemoteChunkIndex, ChunkTargetPtrs]( + IoBuffer&& Payload) mutable { DownloadStats.RequestsCompleteCount++; if (DownloadStats.RequestsCompleteCount == TotalRequestCount) { |