[Cryptography-dev] pyOpenSSL: non-blocking socket support

Glyph glyph at twistedmatrix.com
Tue Jun 28 01:59:18 EDT 2016


> On Jun 27, 2016, at 22:23, Vladimir Didenko <vladimir.didenko at gmail.com> wrote:
> 
> Resume: you can use nonblocking ssl socket with standard ssl module and PyOpenSSL. Though it requires some work from you (but it is not hard!).

The better way to use pyOpenSSL (and more recent stdlib ssl modules) is to use Memory BIOs, though.  Twisted migrated many years back from letting OpenSSL do the socket I/O to doing the socket I/O itself and the result has been much more portable, testable, and reliable.

-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cryptography-dev/attachments/20160627/23b2417a/attachment.html>


More information about the Cryptography-dev mailing list