mirror of https://github.com/status-im/op-geth.git
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.go | ||
handshake_test.go | ||
message.go | ||
message_test.go | ||
peer.go | ||
peer_error.go | ||
peer_test.go | ||
protocol.go | ||
rlpx.go | ||
rlpx_test.go | ||
server.go | ||
server_test.go | ||
testlog_test.go |