SimpleHTTPServer, shoutdown and blocked request handlers

Miki miki.tebeka at gmail.com
Thu Dec 31 03:26:37 CET 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