Re: Exiting gracefully from ThreadingTCPServer

2010-03-16 Thread Gabriel Genellina
En Fri, 12 Mar 2010 12:15:16 -0300, Pete Emerson escribió: I'm trying to get threading going for the first time in python, and I'm trying to modify code I found so that I can have the server close the TCP connections and exit gracefully. Two problems: Which Python version? 1) While the Ke

Exiting gracefully from ThreadingTCPServer

2010-03-12 Thread Pete Emerson
I'm trying to get threading going for the first time in python, and I'm trying to modify code I found so that I can have the server close the TCP connections and exit gracefully. Two problems: 1) While the KeyboardInterrupt works, if I make more than 0 curls to the server and then quit, I can't ru