Sending thread fix

master
Peter Šurda 7 years ago
parent 8d278182a7
commit cc4c07025b
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -92,7 +92,7 @@ class sendDataThread(threading.Thread):
uploadRateLimitBytes = BMConfigParser().getint('bitmessagesettings', 'maxuploadrate') * 1000
if ((self.services & protocol.NODE_SSL == protocol.NODE_SSL) and
self.connectionIsOrWasFullyEstablished and
shared.haveSSL(not self.initiatedConnection)):
protocol.haveSSL(not self.initiatedConnection)):
amountSent = self.sslSock.send(data[:1000])
else:
amountSent = self.sock.send(data[:1000])

Loading…
Cancel
Save