Просмотр исходного кода

KCP: discard useless conn in Accept+

Shelikhoo 9 лет назад
Родитель
Сommit
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
 		}