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
WebSocket handling of Connection: upgrade,close. #6642
Comments
@joakime what are we supposed to do in the case of We don't even support this case in 9.4. |
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
I'm not 100% sure what the behavior should be here. On one hand, it wouldn't be too hard to argue that "close" is only for HTTP layer, once the connection is upgraded, the "close" behavior should no longer take effect. On the other hand, the transition from HTTP to WebSocket is an HTTP Response with an upgraded connection. (the websocket handshake) But I believe that's just a side effect of websocket on HTTP/1.1, is this HTTP response still a thing in HTTP/2? @gregw what do you think? |
You could argue that |
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…nnection Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
… response. Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…ectionHeaders Issue #6642 - WebSocket handling of Connection: upgrade,close.
Jetty version(s)
Jetty 10+
Description
In Jetty 9.4.x, there was a test for bad client
Connection
headers.https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/FirefoxTest.java
This concept needs to be restored in a new testcase on the Jetty WebSocket rewrite.
Two test cases need to be tested and ensured that they work.
The "Firefox" case. of
Connection: keep-alive, Upgrade
And the "iPhone" and "Proxy/Load Balancer" case of
Connection: close, Upgrade
The text was updated successfully, but these errors were encountered: