forked from cerc-io/plugeth
f1d710af00
There were multiple synchronization issues in the disconnect handling, all caused by the odd special-casing of Peer.readLoop errors. Remove the special handling of read errors and make readLoop part of the Peer WaitGroup. Thanks to @Gustav-Simonsson for pointing at arrows in a diagram and playing rubber-duck. |
||
---|---|---|
.. | ||
discover | ||
nat | ||
handshake_test.go | ||
handshake.go | ||
message_test.go | ||
message.go | ||
peer_error.go | ||
peer_test.go | ||
peer.go | ||
protocol.go | ||
rlpx_test.go | ||
rlpx.go | ||
server_test.go | ||
server.go | ||
testlog_test.go |