Branch: refs/heads/master Home: https://github.com/btcsuite/btcd Commit: 7996eb1f9deee90a070e2d6455c71bd5738192f5 https://github.com/btcsuite/btcd/commit/7996eb1f9deee90a070e2d6455c71bd5738192f5 Author: Javed Khan <[email protected]> Date: 2016-01-06 (Wed, 06 Jan 2016)
Changed paths:
M server.go
Log Message:
-----------
peer: drain chans before exiting peerHandler
Also disconnect the failed peer to allow the peerDoneHandler goroutine
to exit, instead of hanging around. Fixes #583.
