mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-07-26 09:58:40 +00:00
if tcp client is closed by stop, stop retrying
This commit is contained in:
@@ -126,6 +126,9 @@ CONNECT_RETRY:
|
||||
continue
|
||||
}
|
||||
}
|
||||
if errors.Is(err, net.ErrClosed) {
|
||||
break CONNECT_RETRY
|
||||
}
|
||||
break READ
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user