[BUNDLE] let PyCurl transport read multiple ranges.
Johan Rydberg
jrydberg at gnu.org
Mon Jun 12 10:44:18 BST 2006
"Michael Ellerman" <michael at ellerman.id.au> writes:
>> Maybe we should go with my patch for now, and when your stuff is
>> ready, we apply it? Better to get some functionality in now than wait
>> forever for the "perfect patch" :)
>
> I'd rather not, that original code I wrote is _really_ terrible. I'll
> have something testable soon that's not so ugly.
OK.
>> > Another thing we really need to do is some sort of detection of how
>> > large a range header a server can handle. It looks like the default
>> > size in Apache2 is ~8K per header (ie. the range string has to be <
>> > than that), but it's configurable _downward_ by users. So it's quite
>> > possible we'll hit servers with 4K or 2K or less.
>>
>> I tried sending 2000 ranges instead of 500, but actually lost
>> performance for some reason. Did not investigate it further though.
>
> Hmm, it probably ignored the range and sent you the whole file. Any
> idea which server that was?
www.bazaar-vcs.org
~j
More information about the bazaar
mailing list