libp2p / go-ws-transport

a websocket implementation of a go-libp2p transport
Other
60 stars 18 forks source link

Revert "add mutex for write/close" #73

Closed Stebalien closed 4 years ago

Stebalien commented 4 years ago

Actually fixed in https://github.com/multiformats/go-multistream/pull/50

This reverts commit f6ca84adaaf379b79f8d337a86f953ce56c8c0fa.

Stebalien commented 4 years ago

Github needs a :crossed_fingers: reaction.

Stebalien commented 4 years ago

My primary motivation for reverting this is that this currently prevents us from closing a stream that's blocked on writing.