mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-29 19:26:04 +08:00
Previously, the code relied on being able to write an entire match at once. When combined with limited streaming, this could result in an infinite loop with e.g. streamExact. The fix here is to support writing partial matches up to the limit, and then continue writing the rest of the match on the next stream. Fixes https://github.com/ziglang/zig/issues/25032