2016-06-28 2:07 GMT+03:00 Nikolaus Rath: > Hello, > > Can someone tell me how pyOpenSSL supports non-blocking socket?
Yes, it does. > Does it > also require the caller to maintain struct iostate, or does it allow to > work with just SSLWantRead/Write and select()? > iostate is not required. Just create Python socket, set non-blocking mode and pass it to SSL.Connection constructor. After that use select/poll/epoll to check socket readiness and call do_handshake/send/recv. -- С уважением, Владимир.
_______________________________________________ Cryptography-dev mailing list Cryptography-dev@python.org https://mail.python.org/mailman/listinfo/cryptography-dev