mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-23 12:40:42 +08:00
Fixed connection error handling by removing duplicated errors, standardizing on non-pointer error types
This commit is contained in:
@@ -143,7 +143,7 @@ func (h *h2muxConnection) serveMuxer(ctx context.Context) error {
|
||||
// here to notify other routines to stop
|
||||
err := h.muxer.Serve(ctx)
|
||||
if err == nil {
|
||||
return muxerShutdownError{}
|
||||
return errMuxerStopped
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user