New submission from Erik Schweller <othere...@gmail.com>: Calling shutdown on a SimpleXMLRPCServer will stop the server but does not close the socket, meaning new connections to the same address will fail.
Example: srv = SimpleXMLRPCServer((ip, port), logRequests=False, allow_none=True) srv.serve_forever(poll_interval=2) srv.shutdown() is made available to the registered class instance. The current workaround is to delete the socket (or call close() on the socket) after the server is shutdown, (i.e., "del srv.socket") but it seems this should be handled when the server is shutdown. ---------- components: Library (Lib) messages: 104009 nosy: othererik severity: normal status: open title: SimpleXMLRPCServer Socket not closed after shutdown call type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8506> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com