From a72b025900f6162f3f31afdb8eda239f33515b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 1 Aug 2022 16:53:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BF=BD=E7=95=A5=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=AB=AF=E5=85=B3=E9=97=AD=E8=BF=9E=E6=8E=A5=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/http_request.go b/internal/nodes/http_request.go index 834e068..0e38cea 100644 --- a/internal/nodes/http_request.go +++ b/internal/nodes/http_request.go @@ -1712,7 +1712,7 @@ func (this *HTTPRequest) canIgnore(err error) bool { } // 客户端主动取消 - if err == errWritingToClient || err == context.Canceled || err == io.ErrShortWrite || strings.Contains(err.Error(), "write: connection timed out") || strings.Contains(err.Error(), "write: broken pipe") { + if err == errWritingToClient || err == context.Canceled || err == io.ErrShortWrite || strings.Contains(err.Error(), "write: connection") || strings.Contains(err.Error(), "write: broken pipe") { return true }