SimpleHTTPServer, shoutdown and blocked request handlers

Miki miki.tebeka at gmail.com
Wed Dec 30 21:26:37 EST 2009


Hello All,

I have an instance of SimpleHTTPServer, however when I try to call
"shutdown" on it and there is a request handler that is blocked - the
whole process will block.
It does so even if I run the "serve_forever" method in a deamon
thread.

See example code at http://codepad.org/cn8EYdfg

Any advice?

Thanks,
--
Miki



More information about the Python-list mailing list