Don't multiplex local connection

This commit is contained in:
shortcutme 2018-02-08 17:59:27 +01:00
parent 70fd33e587
commit 7e4a4459b4
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -102,7 +102,8 @@ class ConnectionServer(object):
connection = Connection(self, ip, port, sock)
self.connections.append(connection)
self.ips[ip] = connection
if ip not in config.ip_local:
self.ips[ip] = connection
connection.handleIncomingConnection(sock)
def getConnection(self, ip=None, port=None, peer_id=None, create=True, site=None):