mirror of https://github.com/ethereum/go-ethereum
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.pull/704/head
parent
79a6782c1c
commit
995fab2ebc
Loading…
Reference in new issue