summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/Socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend/Socket.py')
-rw-r--r--module/remote/thriftbackend/Socket.py3
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