Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHandle HTTP/1.1 decode errors #1862
Closed
Comments
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation: when the Netty HTTP/1.x decoder finds a protocol error (invalid chunk, initial line too long, etc...), it signals it with an error in the
HttpObject. We handle it in a single case (http server invalid request) and we should handle it in all case on server request or in client response and make no further processing of the connection.Changes: when an
HttpObjectis received we check there is no decode error. When there is a decode error we signal it to theHttpServerRequestorHttpClientResponseand then we close the connection.