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.
Created on 2003年05月23日 21:11 by pilcrow, last changed 2022年04月10日 16:08 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| sockserv-timeout.diff | pilcrow, 2003年05月23日 21:11 | sockserv-timeout.diff | ||
| Messages (2) | |||
|---|---|---|---|
| msg43828 - (view) | Author: Michael Pomraning (pilcrow) | Date: 2003年05月23日 21:11 | |
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 |
|||
| msg60191 - (view) | Author: A.M. Kuchling (akuchling) * (Python committer) | Date: 2008年01月19日 16:35 | |
Committed to Python 2.6 in rev. 60080. Thanks for your contribution! Whenever you find time, it would be nice if you could sign and submit a Python contributor agreement; please see http://www.python.org/psf/contrib/ for the forms. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月10日 16:08:52 | admin | set | github: 38542 |
| 2008年01月19日 16:35:27 | akuchling | set | status: open -> closed resolution: accepted messages: + msg60191 |
| 2003年05月23日 21:11:34 | pilcrow | create | |