From aa0d8219f8efc45e8acaa794b98f89df01c5d660 Mon Sep 17 00:00:00 2001 From: lqqyt2423 <974923609@qq.com> Date: Fri, 11 Dec 2020 18:00:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- proxy/proxy.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2370c7..cb6c4f0 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ - [x] logger - [x] 经内存转发 https 流量 - [x] 忽略某些错误例如:broken pipe, reset by peer, timeout -- [ ] websocket +- [x] websocket - [ ] support get method with body - [ ] http2 - [ ] 插件机制 diff --git a/proxy/proxy.go b/proxy/proxy.go index d304949..1266e9c 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -23,6 +23,8 @@ var ignoreErr = func(log *_log.Entry, err error) bool { "i/o timeout", "net/http: TLS handshake timeout", "io: read/write on closed pipe", + "connect: connection refused", + "connect: connection reset by peer", } for _, str := range strs {