Revert "use netifaces to get local IPs if available. Fixes #8666"
This reverts commit b9c363e9cd
.
This commit is contained in:
parent
b9c363e9cd
commit
d994845212
1
README
1
README
|
@ -38,7 +38,6 @@
|
|||
<li>gir1.2-gupnpigd-1.0 for better NAT traversing</li>
|
||||
<li>gir1.2-networkmanager-1.0 for network lose detection</li>
|
||||
<li>python3-idna and python3-precis-i18n for correctly parsing JIDs</li>
|
||||
<li>python3-netifaces to get local IPs to send files</li>
|
||||
</ul>
|
||||
|
||||
<p>Some distributions also split too much python standard library. I know SUSE does. In such distros you also need python-xml the xml lib that *comes* with python and not pyxml or whatever.</p>
|
||||
|
|
|
@ -205,8 +205,6 @@ class SocksQueue:
|
|||
connection failure cb. If there are some which are still not connected
|
||||
try to establish connection to one of them
|
||||
"""
|
||||
print(client)
|
||||
print(streamhost)
|
||||
self.idlequeue.remove_timeout(client.fd)
|
||||
self.idlequeue.unplug_idle(client.fd)
|
||||
file_props = client.file_props
|
||||
|
@ -225,7 +223,7 @@ class SocksQueue:
|
|||
host['state'] = 0
|
||||
# FIXME: make the sender reconnect also
|
||||
client = Socks5ReceiverClient(self.idlequeue, host,
|
||||
client.sid, file_props)
|
||||
host['sid'], file_props)
|
||||
self.add_sockobj(client.account, client)
|
||||
host['idx'] = client.queue_idx
|
||||
# we still have chances to connect
|
||||
|
@ -1033,7 +1031,6 @@ class Socks5Receiver(IdleObject):
|
|||
self.connect_timeout = 0
|
||||
self.connected = False
|
||||
self.pauses = 0
|
||||
self.sid = sid
|
||||
self.file_props = file_props
|
||||
self.file_props.disconnect_cb = self.disconnect
|
||||
self.file_props.error = 0
|
||||
|
|
Loading…
Reference in New Issue