aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authorKendall Condon <goon.pri.low@gmail.com>2025-08-12 15:48:45 -0400
committerAndrew Kelley <andrew@ziglang.org>2025-08-13 13:14:01 -0700
commit4f639ff8805b33fa6c75416eddfb205e3a04e09a (patch)
tree8ac225b01276c0dfa2d513b4aaa3b4fc99d1f665 /lib/std/array_list.zig
parent5e986fef1fa5cf04f3547cc4f5a8c0f490ea1d3d (diff)
downloadzig-4f639ff8805b33fa6c75416eddfb205e3a04e09a.tar.gz
zig-4f639ff8805b33fa6c75416eddfb205e3a04e09a.zip
http: fix handling of limit in chunkedSendFile
`limit` in chunkedSendFile applies only to the file, not the entire chunk. `limit` in sendFileHeader does not include the header. Additionally adds a comment to clarify what `limit` applies to in sendFileHeader and fixed a small bug in it (`drain` is able to return less then `header.len`).
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions