forked from TrueCloudLab/neoneo-go
d3bb8ddf8f
This makes writer side handle errors properly and fixes communication between reader and writer goroutine to always correctly unregister the peer. This is especially important for the case where error occurs before handshake completes as in this case we don't even have goroutine in startProtocol() running. |
||
---|---|---|
.. | ||
payload | ||
discovery.go | ||
handshakestage_string.go | ||
helper_test.go | ||
message.go | ||
message_test.go | ||
peer.go | ||
relay_reason.go | ||
server.go | ||
server_config.go | ||
server_test.go | ||
tcp_peer.go | ||
tcp_transport.go | ||
transport.go |