Open glassfishrobot opened 9 years ago
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.
[1.1]
@glassfishrobot Commented Reported by tmescic
@glassfishrobot Commented This issue was imported from java.net JIRA WEBSOCKET_SPEC-234
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]