]> granicus.if.org Git - python/commit
Andy Dustman writes:
authorGuido van Rossum <guido@python.org>
Fri, 21 May 1999 16:12:30 +0000 (16:12 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 21 May 1999 16:12:30 +0000 (16:12 +0000)
commit18659608dcc5eb92182d07240641a696bad5fd7b
tree935c6257b0e22dfa0c67901106f393f10aed1720
parentb6f8cf123eda17204ad2002a205dd25a2107f86d
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.
Lib/SocketServer.py