handle all PyopenSSL errors. fixes #3686
This commit is contained in:
parent
4bb29675a8
commit
3c2a220c65
|
@ -790,7 +790,8 @@ class NonBlockingTLS(PlugIn):
|
|||
try:
|
||||
self.starttls='in progress'
|
||||
tcpsock._sslObj.do_handshake()
|
||||
except (OpenSSL.SSL.WantReadError, OpenSSL.SSL.WantWriteError), e:
|
||||
# Errors are handeled in _do_receive function
|
||||
except:
|
||||
pass
|
||||
tcpsock._sslObj.setblocking(False)
|
||||
log.debug("Synchronous handshake completed")
|
||||
|
|
Loading…
Reference in New Issue