Files
codex/codex-rs
richardopenai e8bb1b6641 Limit decoded HTTP/3 response headers in the TCP tunnel (#56024)
## 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
2026-10-22 00:19:02 +00:00
..
…
…
…