-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting RST_STREAM with Error: CANCEL (8) #12478
Comments
Jetty 10 is at end of community support, see: Please upgrade to Jetty 12 and report back if you still see the issue. And please, do not use the |
Hi @sbordet, greetings, We understand that this is not what this header is meant for and somehow we have concluded that when we remove the "\n" from the header value, we are able to get the response. Could you please let us know why it was working in Jetty 9.x and not in Jetty 10.x. Does this header value does not support "\n"? |
HTTP header values do not support newlines. The difference between Jetty 9 and later is due to restricted checks on later Jetty versions about potential security risks. |
@manudhariwal line folding (what you are doing with those The support is fully deprecated in the updated RFC9112 back in June 2022. Same strong language about failing the request/response if those are used. HTTP/2 and HTTP/3 follow this behavior. |
Jetty: 10.0.24
Java: 11
We are facing an issue wherein we are getting RST_STREAM with Error: CANCEL (8) when we send the response with below header.
Above header used to work fine in Jetty 9.4.43.v20210629
The text was updated successfully, but these errors were encountered: