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

Introduce property for setting a connection timeout to the client side API #234

Open
glassfishrobot opened this issue Feb 17, 2015 · 3 comments
Labels
API (Both) Impacts the client and server API enhancement Adding a new feature or improving an existing one
Milestone

Comments

@glassfishrobot
Copy link

When using the JSR356 WebSocket Client side API to connect to a server:

javax.websocket.WebSocketContainer.connectToServer(...)

there is no way to specify a connection timeout. The method connectToServer() will block until it establishes a connection (which may never happen).

Some implementations (Tyrus, Jetty) provide their own specific ways to do this, but the spec does not.

Affected Versions

[1.1]

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by tmescic

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA WEBSOCKET_SPEC-234

@glassfishrobot
Copy link
Author

@glassfishrobot glassfishrobot added Priority: Major enhancement Adding a new feature or improving an existing one API (Both) Impacts the client and server API timeout labels Feb 12, 2018
@markt-asf markt-asf added this to the backlog milestone May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API (Both) Impacts the client and server API enhancement Adding a new feature or improving an existing one
Projects
None yet
Development

No branches or pull requests

2 participants