Text/Compression: streaming gzip/deflate codec #54

Closed
opened 2026-12-03 23:41:56 +00:00 by faumaray · 0 comments
Owner

Context: Forge M06 Git smart HTTP needs bounded streaming gzip/deflate for request bodies and responses (pack data can be multi-gigabyte). VoidLibrary has no streaming compression codec.

Need: a bounded, streaming gzip/deflate encoder/decoder over spans/chunks (no full-buffer requirement), with backpressure and an error for malformed input.

Tests/gate: RFC 1952/1951 vectors, round-trip over chunk boundaries, malformed/truncated input, bounded memory. Forge uses it for Git HTTP bodies; without it Forge either rejects compressed requests (415) or buffers.

Context: Forge M06 Git smart HTTP needs bounded streaming gzip/deflate for request bodies and responses (pack data can be multi-gigabyte). VoidLibrary has no streaming compression codec. Need: a bounded, streaming gzip/deflate encoder/decoder over spans/chunks (no full-buffer requirement), with backpressure and an error for malformed input. Tests/gate: RFC 1952/1951 vectors, round-trip over chunk boundaries, malformed/truncated input, bounded memory. Forge uses it for Git HTTP bodies; without it Forge either rejects compressed requests (415) or buffers.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Void/Library#54