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().

@lachlan-roberts lachlan-roberts merged commit 76cf6c8 into jetty-10.0.x 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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants