bneradt commented on PR #13641: URL: https://github.com/apache/trafficserver/pull/13641#issuecomment-6609721337
Thanks for the thorough review, @maskit. I rebased on master and pushed a63c055f78: - Every stream-level DATA discard path in `rcv_data_frame()` now tops up the connection window, not just the closed-stream ones. Connection errors are still exempt. - The helper is now the private `_top_up_window_after_discard()`, with Doxygen noting that its length argument is only logged. - The call now sits above the "innocuous" comment. - The test client reads `SETTINGS_MAX_FRAME_SIZE` from ATS's SETTINGS, and its comments say explicitly that only the connection window is honored. The license header now comes before the docstring. - The urtest client run now has an explicit 20s timeout. Outbound coverage is left for a follow-up; I explained why in that thread. On the drive-by `pad_length` note: on current master that check is `pad_length + HTTP2_DATA_PADLEN_LEN > payload_length`. It already rejects `pad_length == payload_length`, so the `increment_data_length()` underflow you describe can't happen. The only frame it accepts at the boundary is `pad_length == payload_length - 1`, which carries zero data bytes, and nghttp2 accepts the same frame. Local results: the http2 ctests pass, and all 171 h2/http2 urtests pass, including `test_closed_stream_flow_control`. -- 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]
