If I wait until _BaseServer__serving is True before calling shutdown
things go better.
Okko Willeboordse wrote:
> All,
>
> With Python 2.5 SocketServer features the shutdown method that can be
> called from another thread to stop the serve_forever loop.
>
> However;
>
> When the shutdown meth
All,
With Python 2.5 SocketServer features the shutdown method that can be
called from another thread to stop the serve_forever loop.
However;
When the shutdown method is called before serve_forever, shutdown will
never return.
This can happen when a server is stopped during startup.
In other w