[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
- Previous message: [Python-Dev] ssl module, non-blocking sockets and asyncore integration
- Next message: [Python-Dev] ssl module, non-blocking sockets and asyncore integration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] ssl module, non-blocking sockets and asyncore integration
- Next message: [Python-Dev] ssl module, non-blocking sockets and asyncore integration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]