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

News123 news123 at
Sat Feb 6 00:03:51 CET 2010


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()

Is there any trick, which I overlook?

thanks in advance for ideas and bye


More information about the Python-list mailing list