Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SimpleHTTPServer, shoutdown and blocked request handlers

1 view
Skip to first unread message

Miki

unread,
Dec 30, 2009, 9:26:37 PM12/30/09
to
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

0 new messages