X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=transports%2Fstratum_tcp.py;h=1635bfa2acdaa3692c717467125ff27cf4bf0132;hb=dfec0fc7cccc6b0bbe1b8625800d2b9c5a3e5bca;hp=ec697ca1830d09976f7ed07e4baa7ef27f099982;hpb=521034aa46e65bbabbaed2cd89f582fb67a0ddd6;p=electrum-server.git diff --git a/transports/stratum_tcp.py b/transports/stratum_tcp.py index ec697ca..1635bfa 100644 --- a/transports/stratum_tcp.py +++ b/transports/stratum_tcp.py @@ -234,10 +234,10 @@ class TcpServer(threading.Thread): data = s.recv(self.buffer_size) except ssl.SSLError as x: if x.args[0] == ssl.SSL_ERROR_WANT_READ: - # print_log("error want read", x, fd) - continue - else: - raise x + pass + else: + print_log("SSL error", x) + continue except socket.error as x: # print_log("recv err", x) stop_session(fd)