Explorar o código

KCP: discard useless conn in Accept+

Shelikhoo %!s(int64=9) %!d(string=hai) anos
pai
achega
4df5d42011
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      transport/hub/tcp.go

+ 1 - 1
transport/hub/tcp.go

@@ -92,7 +92,7 @@ func (this *TCPHub) start() {
 
 		if err != nil {
 			if this.accepting {
-				log.info("Listener: Failed to accept new TCP connection: ", err)
+				log.Info("Listener: Failed to accept new TCP connection: ", err)
 			}
 			continue
 		}