[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

Charles-François Natali report at bugs.python.org
Mon Jul 25 19:35:44 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

Seems reasonable to me.
What bothers me is this comment in shutdown's docstring:

        """Stops the serve_forever loop.

        Blocks until the loop has finished. This must be called while
        serve_forever() is running in another thread, or it will
        deadlock.
        """

I'm adding Giampaolo to the nosy list, to get his input on this.

----------
nosy: +giampaolo.rodola, neologix

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12463>
_______________________________________


More information about the Python-bugs-list mailing list