mirror of https://github.com/v2ray/v2ray-core
parent
bc6174d4b5
commit
9e078d533d
|
@ -53,7 +53,8 @@ func (handler *VMessInboundHandler) AcceptConnections(listener *net.TCPListener)
|
||||||
for handler.accepting {
|
for handler.accepting {
|
||||||
connection, err := listener.AcceptTCP()
|
connection, err := listener.AcceptTCP()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return log.Error("Failed to accpet connection: %s", err.Error())
|
log.Error("Failed to accpet connection: %s", err.Error())
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
go handler.HandleConnection(connection)
|
go handler.HandleConnection(connection)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue