Message183814
| Author |
pitrou |
| Recipients |
eric.araujo, giampaolo.rodola, pitrou, rosslagerwall |
| Date |
2013年03月09日.13:09:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1362834561.81.0.861750735515.issue13564@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I don't understand why you must put the socket in non-blocking mode for sendfile().
Also I think the support code (_use_send() / _use_sendfile()) should be factored out somewhere. There could even be a socket.sendfile() method with the appropriate fallbacks? |
|