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 giampaolo.rodola
Recipients eric.araujo, giampaolo.rodola, pitrou, rosslagerwall
Date 2013-03-09.16:41:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362847287.3.0.116731814504.issue13564@psf.upfronthosting.co.za>
In-reply-to
Content
Because otherwise sendfile() fails with EAGAIN many times before sending any actual data. 
select() / poll() make sure the while loop awakens only when the socket is ready to be written (as opposed to continuously catching EAGAIN and wait for sendfile() to succeed).
History
Date User Action Args
2013-03-09 16:41:27giampaolo.rodolasetrecipients: + giampaolo.rodola, pitrou, eric.araujo, rosslagerwall
2013-03-09 16:41:27giampaolo.rodolasetmessageid: <1362847287.3.0.116731814504.issue13564@psf.upfronthosting.co.za>
2013-03-09 16:41:27giampaolo.rodolalinkissue13564 messages
2013-03-09 16:41:27giampaolo.rodolacreate