mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
## Why QPACK can expand compact response headers into large decoded field sections. Bound their size before `h3` constructs its capacity-limited `HeaderMap`. ## What changed Set the HTTP/3 client's maximum field section size to 64 KiB so oversized responses are rejected with `HeaderTooBig`. ## Testing Add a regression test that sends QPACK static references around the size limit and a much larger expansion. Verify that oversized responses are rejected and a subsequent valid response succeeds on the same connection. GitOrigin-RevId: d7c83a7a755dfafae05919ec52542ffce40a1ef4