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 {