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
{{ message }}
Repository navigation
Closing wss connections might not work as expected #120
It is possible that sc.write will not send enough bytes ( i measured 37 bytes ) at once to complete the TLS close notify. Calling sc.write in a loop might block the current thread indefinitely so that is not an option.
As a result your peer host might complain about an unexpectedly closed connection after HE initiated the websocket close handshake.
It will take me a few days to implement the close handshaking the nonblocking way.
Activity
marci4 commentedon May 28, 2017
Code changed with #488.
Closing issue!
Greetings
marci4