]> granicus.if.org Git - python/commit
There was a race condition where the connector would try to connect
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 25 Jan 2006 08:39:35 +0000 (08:39 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 25 Jan 2006 08:39:35 +0000 (08:39 +0000)
commit08e301f8bda33203a89b2a450eb8104d815ff534
tree3170124d170fa7fc3af74e398fe14aa417b21e5a
parent14361fffc233072acdc8973ac12fa79a38cac2b8
There was a race condition where the connector would try to connect
before the listener was ready (on gentoo x86 buildslave).  This
caused the listener to not exit normally since nobody connected to it
(waited in accept()).  The exception was raised in the other thread
and the test failed.

This fix doesn't completely eliminate the race, but should make it
near impossible to trigger.  Hopefully it's good enough.
Lib/test/test_socket_ssl.py