Bugfix
This commit is contained in:
parent
be1b58aa79
commit
321020751d
|
@ -110,7 +110,7 @@ class PyOpenSSLWrapper(SSLWrapper):
|
||||||
else: retval = this.sslobj.recv(bufsize, flags)
|
else: retval = this.sslobj.recv(bufsize, flags)
|
||||||
except (OpenSSL.SSL.WantReadError, OpenSSL.SSL.WantWriteError), e:
|
except (OpenSSL.SSL.WantReadError, OpenSSL.SSL.WantWriteError), e:
|
||||||
log.debug("Recv: " + repr(e))
|
log.debug("Recv: " + repr(e))
|
||||||
except OpenSSL.SSL.SysCallError:
|
except OpenSSL.SSL.SysCallError, e:
|
||||||
log.error("Got OpenSSL.SSL.SysCallError: " + repr(e))
|
log.error("Got OpenSSL.SSL.SysCallError: " + repr(e))
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
raise SSLWrapper.Error(('OpenSSL.SSL.SysCallError', e.args))
|
raise SSLWrapper.Error(('OpenSSL.SSL.SysCallError', e.args))
|
||||||
|
|
Loading…
Reference in New Issue