• F
    p2p: fix yet another disconnect hang · 995fab2e
    Felix Lange 提交于
    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.
    995fab2e
peer.go 7.0 KB