This commit is contained in:
junglecow 2006-11-14 06:39:08 +00:00
parent be1b58aa79
commit 321020751d
1 changed files with 1 additions and 1 deletions

View File

@ -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))