how to make a SimpleXMLRPCServer abort at CTRL-C under windows

News123 news123 at free.fr
Fri Feb 5 18:03:51 EST 2010


Hi,



I'm using an XMLRPC server under Windows.

What I wonder is how I could create a server, that can be killed with CTRL-C

The server aborts easily with CTRL-BREAK but not with CTRL-C (under Windows)

If I press CTRL-C it will only abort when the next RPC call occurs.
It seems it is blocking in the select() call in the handle_request()
function.

Is there any trick, which I overlook?

thanks in advance for ideas and bye


N



More information about the Python-list mailing list