diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2025-08-16 11:32:10 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-16 15:43:48 -0700 |
| commit | 551e009da7be279293fe261b729280d29fcf81b0 (patch) | |
| tree | 2cc356fc7c44c09d8e893f4f1b5a63b3290ec993 /lib/std/http.zig | |
| parent | 399bace2f20e64e4c10c014dc3b8e202a891c6e4 (diff) | |
| download | zig-551e009da7be279293fe261b729280d29fcf81b0.tar.gz zig-551e009da7be279293fe261b729280d29fcf81b0.zip | |
Build.Step.Run: fix missing stdin buffer and flush
Writer.sendFileAll() asserts non-zero buffer capacity in the case that
the fallback is hit. It also requires the caller to flush. The buffer
may be bypassed as an optimization but this is not a guarantee.
Also improve the Writer documentation and add an earlier assert on
buffer capacity in sendFileAll().
Diffstat (limited to 'lib/std/http.zig')
0 files changed, 0 insertions, 0 deletions
