mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Update SSL protocol for Deluge connections. Fixes #632
Since Deluge 1.3.10 the SSL protocol is updated to TLSv1 instead of SSLv3. Link to change in Deluge: http://git.deluge-torrent.org/deluge/commit/?h=1.3-stable&id=26f5be17609a8312c4ba06aa120ed208cd7876f2
This commit is contained in:
parent
3b626dd420
commit
d9fa80d72c
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class DelugeTransfer(object):
|
|||
self.disconnect()
|
||||
|
||||
self.sock = socket.create_connection(hostport)
|
||||
self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_SSLv3)
|
||||
self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_TLSv1)
|
||||
self.connected = True
|
||||
|
||||
def disconnect(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue