Commit 95467c2
Fix bug when reading a file in chunks
Fix #2034
Commit 8a44178 broke the function
calculate_multipart_etag(): it replaced a (working) while-loop that
was reading the tarball in chunks with a broken for-loop which read
one chunk of the file and then iterated over the bytes of that chunk.
We retain the for-loop but fix the iterator to give us back the next
chunk each time.1 parent 8e14bd2 commit 95467c2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
0 commit comments