mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 06:59:57 +00: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