-
Notifications
You must be signed in to change notification settings - Fork 43
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
Missing proxy configuration support in WebSocket API #202
Comments
@glassfishrobot Commented |
@glassfishrobot Commented The main question is should the URI passed to it be ws/wss or http/https? ws/wss http/https There is currently no way to differentiate between a "scheme not supported" response and an explicit "don't use a proxy for that scheme" response. Differentiation between the two would require a custom ProxySelector. I'm leaning towards ws/wss and requiring a custom ProxySelector as that allows for a clear distinction between WebSocket and HTTP traffic. |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
Currently there is no spec defined mechanism for providing proxy configurations when ClientEndpoint is behind a http proxy. There are multiple variations of implementations but still such configuration could be interfaced in spec defined way so that connectToServer methods in WebSocketContainer respect that.
Affected Versions
[1.0]
The text was updated successfully, but these errors were encountered: