]> granicus.if.org Git - python/commit
Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown,
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 25 Apr 2010 21:40:32 +0000 (21:40 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 25 Apr 2010 21:40:32 +0000 (21:40 +0000)
commita624040d72b7a83bab4737fdfe14b747b530f858
tree3cb9b0e4f38ea8217ba1dea4822e5953f8de644a
parent1ca8c19b65637d292e3d10408ee6243447ec550a
Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown,
where the method could block indefinitely if called just before the
event loop started running.  This also fixes the occasional freezes
witnessed in test_httpservers.
Lib/SocketServer.py
Lib/test/test_socketserver.py
Misc/NEWS