The server isn't handling the close event properly. I'll fix that.
I spoke too soon. In a debug build, this hangs forever during the
Guido van Rossum added the comment:
second iteration:
./python.exe Lib/test/regrtest.py -uall -R1:1 test_ssl
Adding -v, it looks like two iterations are carried out perfectly (one
must be a trial run, one the warm-up run), but the third run goes
beserk; the output ends like this:server: read b'over\n' from client
testAsyncoreServer (test.test_ssl.ThreadedTests) ...
server: closed connection <ssl.SSLSocket object, fd=6, family=2,
type=1, proto=0>
server: read b'' from client
server: closed connection <ssl.SSLSocket object, fd=10, family=2,
type=1, proto=0>
server: read b'' from client
server: closed connection <ssl.SSLSocket object, fd=10, family=2,
type=1, proto=0>
.
. (the last two lines repeated forever).
__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1469>
__________________________________