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