diff --git a/common/baderror/baderror.go b/common/baderror/baderror.go index 6cf581aa..74e37a20 100644 --- a/common/baderror/baderror.go +++ b/common/baderror/baderror.go @@ -26,7 +26,7 @@ func WrapH2(err error) error { if err == io.ErrUnexpectedEOF { return io.EOF } - if Contains(err, "client disconnected", "body closed by handler") { + if Contains(err, "client disconnected", "body closed by handler", "response body closed", "; CANCEL") { return net.ErrClosed } return err