Fix system stack
This commit is contained in:
parent
0310956cc0
commit
ebbe32588c
3 changed files with 0 additions and 38 deletions
|
|
@ -322,13 +322,6 @@ func (s *System) acceptLoop(listener net.Listener) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
err = acceptConn(conn)
|
||||
if err != nil {
|
||||
s.logger.Error("set buffer for conn: ", err)
|
||||
_ = conn.Close()
|
||||
listener.Close()
|
||||
return
|
||||
}
|
||||
connPort := M.SocksaddrFromNet(conn.RemoteAddr()).Port
|
||||
session := s.tcpNat.LookupBack(connPort)
|
||||
if session == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue