commit | 5e826e8a1b4727f42cbbb4bd279741ed96404809 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <senthil@uthcode.com> | Thu May 26 00:22:59 2011 +0800 |
committer | Senthil Kumaran <senthil@uthcode.com> | Thu May 26 00:22:59 2011 +0800 |
tree | 6a347009112eeaf17a671dadf602ab0a596cdd0a | |
parent | dac9acedfd9930d2368172c2cec13b6077153a70 [diff] |
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.