aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-04-13 23:34:08 +0800
committerFelix Lange <fjl@twurst.com>2015-04-13 23:34:08 +0800
commit995fab2ebc3b145a1dbb85841c5241cd024362ac (patch)
tree68894e8cf4b30787ba9ebe0810d2738c7fe3fdb0 /accounts
parent79a6782c1c4a056b27d2c242f656dfcf5633ae3f (diff)
downloadgo-tangerine-995fab2ebc3b145a1dbb85841c5241cd024362ac.tar
go-tangerine-995fab2ebc3b145a1dbb85841c5241cd024362ac.tar.gz
go-tangerine-995fab2ebc3b145a1dbb85841c5241cd024362ac.tar.bz2
go-tangerine-995fab2ebc3b145a1dbb85841c5241cd024362ac.tar.lz
go-tangerine-995fab2ebc3b145a1dbb85841c5241cd024362ac.tar.xz
go-tangerine-995fab2ebc3b145a1dbb85841c5241cd024362ac.tar.zst
go-tangerine-995fab2ebc3b145a1dbb85841c5241cd024362ac.zip
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.
Diffstat (limited to 'accounts')
0 files changed, 0 insertions, 0 deletions