I have problems in getting a SocketServer to shutdown. Why does this not
actually stop the application?
from SocketServer import UnixStreamServer, BaseRequestHandler
server = UnixStreamServer('/tmp/ss.sock', BaseRequestHandler)
try:
server.serve_forever()
except KeyboardInterrupt:
server.shutdown()
After that the server does not respond any more, but the application hangs.
What's the proper way to shutdown the socketserver and what is my mistake?
--
http://mail.python.org/mailman/listinfo/python-list