From 15fe7b33a41b3c9d76958e0b4c6cc4a7f8f596d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Thu, 4 Aug 2022 10:04:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B1=8F=E8=94=BD=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/nodes/http_request.go b/internal/nodes/http_request.go index 0e38cea..bb9c341 100644 --- a/internal/nodes/http_request.go +++ b/internal/nodes/http_request.go @@ -1712,7 +1712,12 @@ func (this *HTTPRequest) canIgnore(err error) bool { } // 客户端主动取消 - if err == errWritingToClient || err == context.Canceled || err == io.ErrShortWrite || strings.Contains(err.Error(), "write: connection") || 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") || + strings.Contains(err.Error(), "write tcp") { return true }