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

Review jetty-10 websocket CompletableFuture usage. #3298

Closed
gregw opened this issue Jan 29, 2019 · 0 comments
Closed

Review jetty-10 websocket CompletableFuture usage. #3298

gregw opened this issue Jan 29, 2019 · 0 comments

Comments

@gregw
Copy link
Contributor

gregw commented Jan 29, 2019

The UpgradeRequest hierarchy in the websocket client has multiple CompletableFutures. Review if they are all necessary, if they are correctly contained and if they are all succeeded/failed correctly.
See discussion on #3291

lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Jan 30, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Jan 31, 2019
Jetty and Javax ClientUpgradeRequests no longer use the combination of
the the onOpenFuture and the futureCoreSession and instead use only
the CompletableFuture future given to the FrameHandler onOpen

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Jan 31, 2019
succeed callback when you do not have a message sink

OnWebSocketFrame annotation should take an API frame not a core frame

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Jan 31, 2019
succeed callback when you do not have a message sink

OnWebSocketFrame annotation should take an API frame not a core frame

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 4, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 4, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
gregw added a commit that referenced this issue Feb 4, 2019
…etableFutures

Issue #3298 - WebSocket UpgradeRequests and CompletableFutures
@gregw gregw closed this as completed Feb 4, 2019
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

No branches or pull requests

1 participant