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 kristjan.jonsson
Recipients kristjan.jonsson
Date 2012-03-14.23:22:57
SpamBayes Score 1.260332e-05
Marked as misclassified No
Message-id <1331767378.71.0.470789063251.issue14307@psf.upfronthosting.co.za>
In-reply-to
Content
SocketServer employs select.select to achieve timeout behaviour on accepting new requests.  Unfortunately, the way this is implemented makes it tricky to bypass this behaviour for users that want to achieve timeout in a different manner.
This defect presents two patches.  One shows how we delegate the timeout to a new function, _get_request_timeout(), that can be overridden by subclasses.
The second shows a concrete version of this function, one that uses the socket's own timeout property rather than select, to get the same behaviour.
History
Date User Action Args
2012-03-14 23:22:58kristjan.jonssonsetrecipients: + kristjan.jonsson
2012-03-14 23:22:58kristjan.jonssonsetmessageid: <1331767378.71.0.470789063251.issue14307@psf.upfronthosting.co.za>
2012-03-14 23:22:58kristjan.jonssonlinkissue14307 messages
2012-03-14 23:22:58kristjan.jonssoncreate