mirror of
https://github.com/go-gost/x.git
synced 2026-10-19 16:16:32 +00:00
A remote listener (rtcp/runix/rudp) wraps an accept failure in core's AcceptError — which always answers Temporary() — to say "rebuild the transport and try again", and a closed pipe under it is one of the failures that recovers that way, so the retry stays exactly as it was. What was wrong is what it said: a stop arrives down the same path, and a warning that promises a retry reads like a hiccup in the log of a service that is simply being stopped. The retry is logged at debug when the error means a closed listener, pipe or socket; every other failure still warns, and the tail still logs real failures at error. No behaviour change: the retry, its backoff and the state transitions are untouched — the classification decides only the log level.