一些优化

addon-dailer
lqqyt2423 4 years ago
parent bb9ef5a523
commit aa0d8219f8

@ -11,7 +11,7 @@
- [x] logger - [x] logger
- [x] 经内存转发 https 流量 - [x] 经内存转发 https 流量
- [x] 忽略某些错误例如broken pipe, reset by peer, timeout - [x] 忽略某些错误例如broken pipe, reset by peer, timeout
- [ ] websocket - [x] websocket
- [ ] support get method with body - [ ] support get method with body
- [ ] http2 - [ ] http2
- [ ] 插件机制 - [ ] 插件机制

@ -23,6 +23,8 @@ var ignoreErr = func(log *_log.Entry, err error) bool {
"i/o timeout", "i/o timeout",
"net/http: TLS handshake timeout", "net/http: TLS handshake timeout",
"io: read/write on closed pipe", "io: read/write on closed pipe",
"connect: connection refused",
"connect: connection reset by peer",
} }
for _, str := range strs { for _, str := range strs {

Loading…
Cancel
Save