Message104009
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. |
|
Date |
User |
Action |
Args |
2010-04-23 12:38:04 | othererik | set | recipients:
+ othererik |
2010-04-23 12:38:04 | othererik | set | messageid: <1272026284.3.0.0989904198918.issue8506@psf.upfronthosting.co.za> |
2010-04-23 12:38:03 | othererik | link | issue8506 messages |
2010-04-23 12:38:02 | othererik | create | |
|