[Python-Dev] ssl module, non-blocking sockets and asyncore integration (original) (raw)

Bill Janssen janssen at parc.com
Wed Sep 17 18:46:25 CEST 2008


Giampaolo Rodola' <gnewsg at gmail.com> wrote:

2 - By reading ssl.py code I noticed that when dohandshakeonconnect flag is False the dohandshake() method is never called. Is it supposed to be manually called when dealing with non-blocking sockets?

Yes. Look at the example client in Lib/test/test_ssl.py. The server code should work the same way.

Bill



More information about the Python-Dev mailing list