Author pitrou
Recipients eric.araujo, giampaolo.rodola, pitrou, rosslagerwall
Date 2013-03-09.16:28:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362846290.3614.2.camel@localhost.localdomain>
In-reply-to <1362845328.59.0.808069412391.issue13564@psf.upfronthosting.co.za>
Content
> > I don't understand why you must put the socket in 
> > non-blocking mode for sendfile().
> 
> I did that mainly because I'm using select() / poll() and it seems
> kind of "natural" to set the socket in non-blocking mode (proftpd does
> the same).

But why do you need to use select() / poll() ? Can't you just call
sendfile() right from the start?
History
Date User Action Args
2013-03-09 16:28:37pitrousetrecipients: + pitrou, giampaolo.rodola, eric.araujo, rosslagerwall
2013-03-09 16:28:37pitroulinkissue13564 messages
2013-03-09 16:28:37pitroucreate