Closed belm0 closed 1 year ago
During a local-initiated close handshake, the following incorrect behavior was observed:
closed
None
send_message()
LocalProtocolException
Upon local-initiated close, closed will now have the reason, and send_message() will raise ConnectionClosed.
ConnectionClosed
Fixes #158.
During a local-initiated close handshake, the following incorrect behavior was observed:
closed
attribute would beNone
send_message()
would be silently ignored (wsproto < 0.2.0) or leak aLocalProtocolException
(wsproto >= 0.2.0)Upon local-initiated close,
closed
will now have the reason, andsend_message()
will raiseConnectionClosed
.Fixes #158.