vapor/websocket-kit

Wrong default wss:// port

sehoffmann opened this issue · 0 comments

Without any additional port specification, a secure websocket connection is supposed to run over port 443. Websocket-kit currently falls back to port 80 when the URI has no port component, even when the protocol is wss://.

This results in connects failing when an API provider just specifies wss://abc.foo/endpoint as address without additional port information.