plugeth/p2p
Felix Lange 995fab2ebc p2p: fix yet another disconnect hang
Peer.readLoop will only terminate if the connection is closed. Fix the
hang by closing the connection before waiting for readLoop to terminate.

This also removes the british disconnect procedure where we're waiting
for the remote end to close the connection. I have confirmed with
@subtly that cpp-ethereum doesn't adhere to it either.
2015-04-13 17:34:08 +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_test.go p2p: improve disconnect signaling at handshake time 2015-04-10 16:57:56 +02:00
handshake.go p2p: fix goroutine leak when handshake read fails 2015-04-13 17:06:19 +02:00
message_test.go p2p: use package rlp to encode messages 2015-03-19 15:11:02 +01:00
message.go Merge branch 'develop' into conversion 2015-03-21 14:52:42 +01: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
peer.go p2p: fix yet another disconnect hang 2015-04-13 17:34:08 +02:00
protocol.go p2p: print Cap as name/version 2015-02-13 23:54:34 +01:00
rlpx_test.go p2p: use package rlp to encode messages 2015-03-19 15:11:02 +01:00
rlpx.go p2p: reject messages that cannot be written as simple RLPx frames 2015-03-04 16:42:01 +01:00
server_test.go p2p: improve disconnect signaling at handshake time 2015-04-10 16:57:56 +02:00
server.go p2p: limit number of lingering inbound pre-handshake connections 2015-04-10 17:24:41 +02:00
testlog_test.go fix p2p/testlog_test 2015-03-23 16:41:41 +00:00