You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "arturobernalg (via GitHub)" <gi...@apache.org> on 2026/02/21 13:11:15 UTC
[PR] HTTP/2: tighten SETTINGS validation [httpcomponents-core]
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: dev-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
Re: [PR] HTTP/2: tighten SETTINGS validation [httpcomponents-core]
Posted by "arturobernalg (via GitHub)" <gi...@apache.org>.
arturobernalg merged PR #632:
URL: https://github.com/apache/httpcomponents-core/pull/632
--
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: dev-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org