op-geth/p2p
Felix Lange f1d710af00 p2p: fix Peer shutdown deadlocks
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.
2015-04-10 13:26:27 +02:00
..
discover p2p/discover: don't log packet content 2015-04-10 13:26:27 +02:00
nat Updated logging 2015-04-07 14:57:04 +02:00
handshake.go p2p: fix Peer shutdown deadlocks 2015-04-10 13:26:27 +02:00
handshake_test.go p2p: make encryption handshake code easier to follow 2015-03-04 12:27:24 +01:00
message.go Merge branch 'develop' into conversion 2015-03-21 14:52:42 +01:00
message_test.go p2p: use package rlp to encode messages 2015-03-19 15:11:02 +01:00
peer.go p2p: fix Peer shutdown deadlocks 2015-04-10 13:26:27 +02:00
peer_error.go p2p: fix Peer shutdown deadlocks 2015-04-10 13:26:27 +02:00
peer_test.go p2p: fix Peer shutdown deadlocks 2015-04-10 13:26:27 +02:00
protocol.go p2p: print Cap as name/version 2015-02-13 23:54:34 +01:00
rlpx.go p2p: reject messages that cannot be written as simple RLPx frames 2015-03-04 16:42:01 +01:00
rlpx_test.go p2p: use package rlp to encode messages 2015-03-19 15:11:02 +01:00
server.go p2p: improve peer selection logic 2015-04-10 13:26:27 +02:00
server_test.go p2p: use package rlp to encode messages 2015-03-19 15:11:02 +01:00
testlog_test.go fix p2p/testlog_test 2015-03-23 16:41:41 +00:00