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 #5018 - cancellation of WebSocketClient.connect Future should fail upgrade #5030

Merged

Conversation

lachlan-roberts
Copy link
Contributor

Issue #5018

Cancelling the Future<Session> from WebSocketClient.connect() should cancel the websocket upgrade and close the websocket session if it has already been opened.

…ail upgrade

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts requested a review from sbordet July 8, 2020 08:14
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 requested a review from sbordet July 15, 2020 11:28
Copy link
Contributor

@sbordet sbordet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the nit in the test class, LGTM.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts
Copy link
Contributor Author

Waiting on PR #5054 to be merged before merging this.

@joakime
Copy link
Contributor

joakime commented Jul 22, 2020

@lachlan-roberts PR #5054 has been merged.

@lachlan-roberts lachlan-roberts merged commit d8b775c into jetty-9.4.x Jul 22, 2020
@lachlan-roberts lachlan-roberts deleted the jetty-9.4.x-5018-WebSocketClientConnectFuture branch July 22, 2020 22:36
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.

3 participants