[RFC] Multipart support for _urllib_

Robey Pointer robey at lag.net
Tue Jun 20 19:30:19 BST 2006


On 20 Jun 2006, at 7:34, Aaron Bentley wrote:

>> My point was to have SFTP do the same thing that HTTP is doing. Pull
>> over any overlapping, nearby, etc ranges. And then return the  
>> requested
>> hunks in the order requested.
>
> I agree.  Seeking is nice, but not needing to seek is nicer.  While
> read_records already does sort requests before doing a readv, I think
> it's nicer to do that at the Transport layer.

Minor quibble: sftp's reads are all the equivalent of 'pread', so seek 
() is a local operation, and has no traffic or roundtrip.

robey





More information about the bazaar mailing list