Update dependencies

This commit is contained in:
9seconds
2020-02-04 11:18:25 +03:00
parent cf43ae780b
commit 5a52418394
5 changed files with 47 additions and 41 deletions
+1
View File
@@ -41,6 +41,7 @@ func (p *Proxy) Serve(listener net.Listener) {
func (p *Proxy) accept(conn net.Conn) {
defer func() {
conn.Close()
if err := recover(); err != nil {
stats.Stats.Crash()
p.Logger.Errorw("Crash of accept handler", "error", err)