修正log显示问题

This commit is contained in:
lwch
2021-08-12 16:44:26 +08:00
parent fb397247e2
commit 7c2364056c

View File

@@ -41,7 +41,7 @@ func (h *Handler) Handle(conn net.Conn) {
logging.Error("invalid handshake from %s", c.RemoteAddr().String())
return
}
logging.Error("read handshake from %s %d times, err=%v", c.RemoteAddr().String(), err)
logging.Error("read handshake from %s %d times, err=%v", c.RemoteAddr().String(), i+1, err)
continue
}
break