arturobernalg opened a new pull request, #708:
URL: https://github.com/apache/httpcomponents-core/pull/708

   RFC 9113 Section 6.9.1 requires a sender to ensure that a flow-control 
window does not exceed `2^31-1` octets. If a `WINDOW_UPDATE` causes the maximum 
flow-control window size to be exceeded, the affected stream or connection must 
be terminated as appropriate.
   
   For a stream, RFC 9113 requires `RST_STREAM` with `FLOW_CONTROL_ERROR`. For 
the connection, it requires `GOAWAY` with `FLOW_CONTROL_ERROR`.
   
   The connection-level path already reports a connection `FLOW_CONTROL_ERROR`. 
The stream-level path currently throws `H2ConnectionException` as well, which 
escalates a stream-specific flow-control error to the entire connection.
   
   This change resets only the affected stream with `FLOW_CONTROL_ERROR` and 
updates the existing overflow test to verify the stream-level error scope.
   
   RFC 9113 Section 6.9.1:
   https://www.rfc-editor.org/rfc/rfc9113.html#section-6.9.1


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to