[Python-Dev] ssl module, non-blocking sockets and asyncore integration

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 do_handshake_on_connect
> flag is False the do_handshake() 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