mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
0bbf0461d9
Content length based reading would only set the reader state to `ready` once it returned EOF, but wrapping readers (such as decompressors) may stop reading from the underlying source without receiving EOF. In such cases the http reader state would stay set to `body_remaining_content_length`, even though the entire body had been read. Fixes #30060 Co-authored-by: Andrew Kelley <andre@ziglang.org>