[Python-checkins] CVS: python/dist/src/Lib SocketServer.py

Guido van Rossum guido@cnri.reston.va.us
Fri, 21 May 1999 12:12:31 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
	SocketServer.py 
Log Message:
Andy Dustman writes:

I noticed while watching (with lsof) my forking SocketServer app running
that I would get multiple processes listening to the socket. For the most
part, this doesn't hurt things, but if you terminate the server, this can
prevent it from restarting because it cannot bind to the port due to any
running children which also have the socket open. The following one-liner
fixes this.