
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2003-05-23 21:11 bypilcrow, last changed2022-04-10 16:08 byadmin. This issue is nowclosed.
| 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, andmethods await_request and handle_timeout. Backwardscompatible API -- timeout is None by default, meaningawait_request jumps directly to get_request and nevercalls handle_timeout.Facilitates periodic server bookkeeping (check configfiles, intervalic logging, etc.), if you supply yourown 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 5minutes 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)*![]() | Date: 2008-01-19 16:35 | |
Committed to Python 2.6 inrev. 60080. Thanks for your contribution!Whenever you find time, it would be nice if you could sign and submit a Python contributor agreement; please seehttp://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 | |