]> granicus.if.org Git - python/commit
Fix closes issue #11109 - socketserver.ForkingMixIn leaves zombies, also fails to...
authorSenthil Kumaran <senthil@uthcode.com>
Wed, 25 May 2011 16:22:59 +0000 (00:22 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Wed, 25 May 2011 16:22:59 +0000 (00:22 +0800)
commit5e826e8a1b4727f42cbbb4bd279741ed96404809
tree6a347009112eeaf17a671dadf602ab0a596cdd0a
parentdac9acedfd9930d2368172c2cec13b6077153a70
Fix closes issue #11109 -  socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass.

A new method called service_action is made available in BaseServer, called by
serve_forever loop. This useful in cases where Mixins can use it for cleanup
action. ForkingMixin class uses service_action to collect the zombie child
processes. Initial Patch by Justin Wark.
Doc/library/socketserver.rst
Lib/socketserver.py