diff options
| author | Igor Anić <igor.anic@gmail.com> | 2025-08-08 17:21:45 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-08 12:28:00 -0700 |
| commit | 3ea015db968644c3f4e88fff59b9741b4903d478 (patch) | |
| tree | 4afe864313c3eb2f7b30395897238d773d33f8fe /lib/std/http/Client.zig | |
| parent | 23fff3442de38877c556f3cda19f3cccef255f7a (diff) | |
| download | zig-3ea015db968644c3f4e88fff59b9741b4903d478.tar.gz zig-3ea015db968644c3f4e88fff59b9741b4903d478.zip | |
Io.Reader fix defaultReadVec
Running tar.pipeToFileSystem compressed_mingw_includes.tar file from #24732
finishes in infinite loop calling defaultReadVec with:
r.seek = 1024
r.end = 1024
r.buffer.len = 1024
first.len = 512
that combination calls vtable.stream with 0 capacity writer and loops
forever.
Comment is to use whichever has larger capacity, and this fix reflects that.
Diffstat (limited to 'lib/std/http/Client.zig')
0 files changed, 0 insertions, 0 deletions
