This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pilcrow
Recipients
Date 2003-05-23.21:11:34
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Patch adds class variable 'timeout' to BaseServer, and
methods await_request and handle_timeout.  Backwards
compatible API -- timeout is None by default, meaning
await_request jumps directly to get_request and never
calls handle_timeout.

Facilitates periodic server bookkeeping (check config
files, intervalic logging, etc.), if you supply your
own serve loop.

Additionally, ForkingMixin sets timeout to 300 seconds,
and overrides handle_timeout to call collect_children.
 Upshot:  n zombies linger in process table until 5
minutes pass or new request arrives, whichever comes first.

docstring updates, too
(s/reuse_address/allow_reuse_address, etc.)

-Mike
History
Date User Action Args
2007-08-23 15:27:19adminlinkissue742598 messages
2007-08-23 15:27:19admincreate