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 neologix
Recipients eric.araujo, giampaolo.rodola, neologix, pitrou, rosslagerwall
Date 2013-03-06.16:55:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM3=MD-pw_0SXcmCgSYNL6YqZdS4=1jx0D0Vi15cSRQBiw@mail.gmail.com>
In-reply-to <1362588243.57.0.868535807165.issue13564@psf.upfronthosting.co.za>
Content
> Ah ok, I misinterpreted what you wrote then.
> Generally speaking though, you don't need to know the file size: you just decide a blocksize (>= 65536 is usually ok) and use sendfile() as you use send().

But then you make much more syscalls than what's necessary, and your
heuristic for the block size is never going to match the choice the
kernel makes.

Anyway, here are the numbers, do you think it's interesting to merge
(I mean, you're the Python ftp expert ;-) ?
History
Date User Action Args
2013-03-06 16:55:36neologixsetrecipients: + neologix, pitrou, giampaolo.rodola, eric.araujo, rosslagerwall
2013-03-06 16:55:36neologixlinkissue13564 messages
2013-03-06 16:55:36neologixcreate