SABITHSAHEB commented on PR #14009: URL: https://github.com/apache/trafficserver/pull/14009#issuecomment-6972510654
Good catch on the synchronous path. Pushed 122f2dc with your fix: `handle_frame()` now calls `_on_qpack_decode_failed(QPACK_DECOMPRESSION_FAILED)` and falls through to `nullptr`, so `_handle_error()` never closes the stream under the HttpSM. An invalid decoder both returns the failure and schedules `QPACK_EVENT_DECODE_FAILED`, so rather than rely on the stream looking closed by the time the second report lands, the transaction now keeps a `_header_decode_failed` flag and acts only on the first one. The comment there is updated to match. Also took both non-blocking points: - `Http3ConfigParams::header_table_size()` and `qpack_blocked_streams()` now return the values clamped to `uint16_t`, so the framer and the session read the same numbers and the clamp in `Http3Session` is gone. The session comment now says the decoder enforces only the field section size and the blocked-stream count, not Set Dynamic Table Capacity. - `on_header_decode_failed()` logs an `Error()` in the same shape as the HTTP/2 one: error code, client IP, session id and stream id. I haven't rebuilt for this round, only checked formatting, so CI will be the first compile of it. The `02 00 c5` block from your review is the one to rerun for the HttpSM leak. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
