Author pitrou
Recipients eric.araujo, giampaolo.rodola, pitrou, rosslagerwall
Date 2013-03-21.16:17:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> After digging a bit further it seems EAGAIN occurs in case a timeout was previously 
> set against the socket as in ftplib.FTP(..., timeout=2) (at least on Linux, FWICT).

Ah, indeed. That's because socket timeout makes the underlying fd non-blocking.
Which means there probably should be a higher-level sendfile() facility for sockets, taking into account the socket timeout...
Date User Action Args
2013-03-21 16:17:49pitrousetrecipients: + pitrou, giampaolo.rodola, eric.araujo, rosslagerwall
2013-03-21 16:17:48pitrousetmessageid: <>
2013-03-21 16:17:48pitroulinkissue13564 messages
2013-03-21 16:17:48pitroucreate