mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
don't log warning when not accepting anymore.
This commit is contained in:
1 parent
01f239cef2
commit
175d56a10b
1 file changed
+3
-1
@@ -95,7 +95,9 @@ func (this *TCPHub) start() {
|
||||
for this.accepting {
|
||||
conn, err := this.listener.AcceptTCP()
|
||||
if err != nil {
|
||||
log.Warning("Listener: Failed to accept new TCP connection: ", err)
|
||||
if this.accepting {
|
||||
log.Warning("Listener: Failed to accept new TCP connection: ", err)
|
||||
}
|
||||
continue
|
||||
}
|
||||
go this.connCallback(&TCPConn{
|
||||
|
||||
Reference in new issue
Block a user