You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added an upgrade_timeout_msec configuration option which limits how long the connection waits for the server to respond to the WebSocket upgrade request (#88)
Previously a server which accepted the TCP connection but never responded to the upgrade request would cause the connection to wait forever.
The timeout defaults to ten seconds. When it elapses, the connection is closed and c:Slipstream.handle_disconnect/2 is invoked with {:error, :upgrade_timeout}. Set the option to 0 to disable the timeout.
Fixed
Fixed a CaseClauseError crash in the connection process when the server sends a WebSocket close frame after the HTTP/1 request has completed (#86)
The error is now handled as a disconnect and passed to c:Slipstream.handle_disconnect/2.