diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-12 21:21:54 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-12 21:21:54 +0100 |
commit | e6a273b42b5c56ba6c1f86fa9bd6e023db3dc67a (patch) | |
tree | 97615f972a82eeb02067b2ea18f10fb66c99a57d /module/remote/thriftbackend/Socket.py | |
parent | GUI refactoring (now Thrift powered), closes #233 (diff) | |
download | pyload-e6a273b42b5c56ba6c1f86fa9bd6e023db3dc67a.tar.xz |
basic thrift client
Diffstat (limited to 'module/remote/thriftbackend/Socket.py')
-rw-r--r-- | module/remote/thriftbackend/Socket.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/remote/thriftbackend/Socket.py b/module/remote/thriftbackend/Socket.py index cfb8b08c9..d8d3d8db4 100644 --- a/module/remote/thriftbackend/Socket.py +++ b/module/remote/thriftbackend/Socket.py @@ -60,6 +60,9 @@ class Socket(TSocket): # SSL connection was closed if e.args == (-1, 'Unexpected EOF'): buff = '' + elif e.args == ([('SSL routines', 'SSL23_GET_CLIENT_HELLO', 'unknown protocol')],): + #a socket not using ssl tried to connect + buff = '' else: raise |