mirror of
https://github.com/lwch/natpass
synced 2025-10-06 05:46:49 +08:00
客户端忽略io timeout错误,服务器端定时发心跳
This commit is contained in:
@@ -62,6 +62,7 @@ func (h *Handler) Handle(conn net.Conn) {
|
||||
cli := clients.new(idx, c)
|
||||
|
||||
defer h.closeClient(cli)
|
||||
go cli.keepalive()
|
||||
|
||||
cli.run()
|
||||
}
|
||||
|
Reference in New Issue
Block a user