This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author teamnoir
Recipients teamnoir
Date 2012-01-09.19:21:37
SpamBayes Score 8.03037e-06
Marked as misclassified No
Message-id <1326136898.29.0.227846676231.issue13749@psf.upfronthosting.co.za>
In-reply-to
Content
It appears as though the problem is that shutdown() blocks waiting for the serve_forever loop to terminate, which won't happen as long as the process is blocked on shutdown.

I'd like to propose that the library be changed to eliminate the block.  Shutdown() can set the flag and then return.  This should allow the handler to return and the serve_forever loop to notice that it has been asked to cease operations.

Failing that, I think the library needs some other way to exit a socketserver.
History
Date User Action Args
2012-01-09 19:21:38teamnoirsetrecipients: + teamnoir
2012-01-09 19:21:38teamnoirsetmessageid: <1326136898.29.0.227846676231.issue13749@psf.upfronthosting.co.za>
2012-01-09 19:21:37teamnoirlinkissue13749 messages
2012-01-09 19:21:37teamnoircreate