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

   
   This change tightens HTTP/2 SETTINGS processing and aligns config handling 
with RFC 9113.
   
   [RFC 9113 6.5.2](https://www.rfc-editor.org/rfc/rfc9113.html#section-6.5.2) 
(SETTINGS_ENABLE_PUSH):
   "Any value other than 0 or 1 MUST be treated as a connection error (Section 
5.4.1) of type PROTOCOL_ERROR."
   "A client MUST treat receipt of a SETTINGS frame with SETTINGS_ENABLE_PUSH 
set to 1 as a connection error (Section 5.4.1) of type PROTOCOL_ERROR."
   
   [RFC 9113 
6.5.2](https://www.rfc-editor.org/rfc/rfc9113.html#name-defined-settings) 
(SETTINGS_MAX_CONCURRENT_STREAMS):
   "A value of 0 for SETTINGS_MAX_CONCURRENT_STREAMS SHOULD NOT be treated as 
special by endpoints."
   
   [RFC 9113 
6.5.2](https://www.rfc-editor.org/rfc/rfc9113.html#name-defined-settings) 
(SETTINGS_INITIAL_WINDOW_SIZE):
   "Values above the maximum flow-control window size of 2^{31}-1 MUST be 
treated as a connection error (Section 5.4.1) of type FLOW_CONTROL_ERROR."
   
   [RFC 9113 
6.5.2](https://www.rfc-editor.org/rfc/rfc9113.html#name-defined-settings) 
(SETTINGS_MAX_HEADER_LIST_SIZE):
   "The initial value of this setting is unlimited."
   


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