Преглед изворни кода

KCP: discard useless conn in Accept+

Shelikhoo пре 9 година
родитељ
комит
4df5d42011
1 измењених фајлова са 1 додато и 1 уклоњено
  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
 		}