New submission from Giampaolo Rodola' <[EMAIL PROTECTED]>: The AsyncoreEchoServer class in test_ssl.py doesn't actually test a real integration with asyncore since the do_handshake_on_connect flag is set to True and hence temporarily blocks the asyncore polling loop as long as the ssl handshake finishes. The patch in attachment subclasses some asyncore internals so that a non-blocking ssl handshake takes place.
Tested under Windows XP SP3, Python 2.6rc1. ---------- components: Library (Lib) files: test_ssl.patch keywords: patch messages: 73382 nosy: giampaolo.rodola, janssen, josiah.carlson, josiahcarlson severity: normal status: open title: test_ssl.py doesn't properly test ssl integration with asyncore type: behavior versions: Python 2.6, Python 3.1 Added file: http://bugs.python.org/file11518/test_ssl.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3899> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com