Skip to content
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

Issue #5170 - fix upgrade bug in HttpReceiverOverHTTP #5266

Merged
merged 4 commits into from Sep 16, 2020

Conversation

lachlan-roberts
Copy link
Contributor

Fixes a bug introduced when fixing issue #5170.

The HttpExchange could be null when the response completes in HttpReceiverOverHTTP, in this case we end incorrectly continue reading and parsing in the HttpReceiverOverHttp, and this can result in ReadPendingException and other issues including losing the websocket data.

I have also cleaned up the debug logging in websocket to prevent the same stacktrace being logged at every level. They should only be logged in processConnectionError() and processHandlerError().

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts added this to To Do in Jetty 10.0.0 via automation Sep 15, 2020
…HandlerError

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Jetty 10.0.0 automation moved this from To Do to In Review Sep 15, 2020
@lachlan-roberts lachlan-roberts merged commit 76cf6c8 into jetty-10.0.x Sep 16, 2020
Jetty 10.0.0 automation moved this from In Review to Done Sep 16, 2020
@lachlan-roberts lachlan-roberts deleted the jetty-10.0.x-WebSocketAutoBahn branch September 16, 2020 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Jetty 10.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants