Don't reset broken ssl client list on cleanup
This commit is contained in:
parent
73524d70dc
commit
b814a633c6
2 changed files with 2 additions and 1 deletions
|
@ -346,6 +346,8 @@ class Connection(object):
|
||||||
# No TLS for onion connections
|
# No TLS for onion connections
|
||||||
if self.ip_type == "onion":
|
if self.ip_type == "onion":
|
||||||
crypt_supported = []
|
crypt_supported = []
|
||||||
|
elif self.ip in self.server.broken_ssl_ips:
|
||||||
|
crypt_supported = []
|
||||||
else:
|
else:
|
||||||
crypt_supported = CryptConnection.manager.crypt_supported
|
crypt_supported = CryptConnection.manager.crypt_supported
|
||||||
# No peer id for onion connections
|
# No peer id for onion connections
|
||||||
|
|
|
@ -231,7 +231,6 @@ class ConnectionServer(object):
|
||||||
run_i += 1
|
run_i += 1
|
||||||
time.sleep(15) # Check every minute
|
time.sleep(15) # Check every minute
|
||||||
self.ip_incoming = {} # Reset connected ips counter
|
self.ip_incoming = {} # Reset connected ips counter
|
||||||
self.broken_ssl_ips = {} # Reset broken ssl peerids count
|
|
||||||
last_message_time = 0
|
last_message_time = 0
|
||||||
s = time.time()
|
s = time.time()
|
||||||
for connection in self.connections[:]: # Make a copy
|
for connection in self.connections[:]: # Make a copy
|
||||||
|
|
Loading…
Reference in a new issue