ok2c opened a new pull request, #1539: URL: https://github.com/apache/httpcomponents-core/pull/1539
// I am getting old // This change-set 1. fixes content length validation in `ClientPushH2StreamHandler` and `ServerH2StreamHandler` in case of the message stream being terminated with a HEADERS frame. `ClientPushH2StreamHandler` is unaffected. 2. `ServerH2StreamHandler` terminates the entire connection not just the offending stream for consistency with the behavior of the client side protocol handlers. The requirements of RFC 9113 section 8.1.1 "Malformed Messages" with regards to `content-length` field handling apply to HTTP intermediaries _only_. There is no such requirement for client or server endpoints. I made a mistake introducing such a restriction in the first place. Now that it has made its way into a GA release the least we can do is to be consistent. -- 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]
