Branch: refs/heads/master
Home: https://github.com/btcsuite/btcrpcclient
Commit: e6e3b66040e809966ce190411bdd6e121c6e38f9
https://github.com/btcsuite/btcrpcclient/commit/e6e3b66040e809966ce190411bdd6e121c6e38f9
Author: Dave Collins <[email protected]>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M infrastructure.go
Log Message:
-----------
Improve error log avoidance on client disconnect.
The existing check to only log errors from websocket connections when
the error is not because the connection is being shutdown only detects
the single case where the remote client was shutdown.
This commit modifies that logic to include when the connection is being
forcibly shutdown via closing the quit channel and when it has been
shutdown from a client side close.