Ver Fonte

KCP: discard useless conn in Accept+

Shelikhoo há 9 anos atrás
pai
commit
4df5d42011
1 ficheiros alterados com 1 adições e 1 exclusões
  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
 		}