Don't multiplex local connection
This commit is contained in:
parent
70fd33e587
commit
7e4a4459b4
1 changed files with 2 additions and 1 deletions
|
@ -102,6 +102,7 @@ class ConnectionServer(object):
|
||||||
|
|
||||||
connection = Connection(self, ip, port, sock)
|
connection = Connection(self, ip, port, sock)
|
||||||
self.connections.append(connection)
|
self.connections.append(connection)
|
||||||
|
if ip not in config.ip_local:
|
||||||
self.ips[ip] = connection
|
self.ips[ip] = connection
|
||||||
connection.handleIncomingConnection(sock)
|
connection.handleIncomingConnection(sock)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue