silence context canceled error

Not really an error.
This commit is contained in:
Steven Allen 2017-10-19 12:24:49 -07:00
parent 076ee4dbc5
commit 6289449066

View File

@ -74,6 +74,8 @@ func (nn *netNotifiee) testConnection(ctx context.Context, v inet.Conn) {
// Connection died but we may still have *an* open connection (context not canceled) so try again.
continue
}
case context.Canceled:
// Context canceled while connecting.
case mstream.ErrNotSupported:
// Client mode only, don't bother adding them to our routing table
default: