zig/lib/std/http
Andrew Kelley 30b41dc510 std.compress.zstd.Decompress fixes
* std.Io.Reader: appendRemaining no longer supports alignment and has
  different rules about how exceeding limit. Fixed bug where it would
  return success instead of error.StreamTooLong like it was supposed to.

* std.Io.Reader: simplify appendRemaining and appendRemainingUnlimited
  to be implemented based on std.Io.Writer.Allocating

* std.Io.Writer: introduce unreachableRebase

* std.Io.Writer: remove minimum_unused_capacity from Allocating. maybe
  that flexibility could have been handy, but let's see if anyone
  actually needs it. The field is redundant with the superlinear growth
  of ArrayList capacity.

* std.Io.Writer: growingRebase also ensures total capacity on the
  preserve parameter, making it no longer necessary to do
  ensureTotalCapacity at the usage site of decompression streams.

* std.compress.flate.Decompress: fix rebase not taking into account seek

* std.compress.zstd.Decompress: split into "direct" and "indirect" usage
  patterns depending on whether a buffer is provided to init, matching
  how flate works. Remove some overzealous asserts that prevented buffer
  expansion from within rebase implementation.

* std.zig: fix readSourceFileToAlloc returning an overaligned slice
  which was difficult to free correctly.

fixes #24608
2025-08-15 10:44:35 -07:00
..
ChunkParser.zig std.http: rework for new std.Io API 2025-08-07 10:04:28 -07:00
Client.zig Fetch: handle compressed git+http 2025-08-07 19:55:40 -07:00
HeaderIterator.zig std.http: header whitespace is optional, and not part of value 2024-02-28 15:12:43 -06:00
HeadParser.zig x86_64: implement integer @reduce(.Add) 2025-05-28 15:10:22 -04:00
Server.zig Fix respondWebSocket, enable --webui on Windows 2025-08-09 16:06:33 -04:00
test.zig std.compress.zstd.Decompress fixes 2025-08-15 10:44:35 -07:00