/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: Vincent Ladeuil
  • Date: 2008-01-02 14:13:55 UTC
  • mto: (3159.1.1 trunk)
  • Revision ID: v.ladeuil+lp@free.fr-20080102141355-k20yfjo6i1dasuny
Fix #179368 by keeping the current range hint on ShortReadvErrors.

* response.py:
(RangeFile._checked_read): Avoid huge buffering when huge seeks
are required.

* _urllib2_wrappers.py:
(Response.finish): Check for end-of-file or we'll loop if the
server lied about Content-Length.

* __init__.py:
(HttpTransportBase._readv): When a ShortReadvError occurs, try
again, staying in multiple range mode and degrades only if the
error occurs again for the same offset.

* test_http_response.py:
(TestRangeFileMultipleRanges): Add a test to exercise the buffer
overflow protection code.

* test_http.py:
(TestMultipleRangeWithoutContentLengthServer): Emulate lighttpd
behavior regarding bug #179368.
Filename Latest Rev Last Changed Committer Comment Size
..
serializer 1185.82.3 20 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 2485.8.35 18 years ago Vincent Ladeuil Fix pull multiple connections. * bzrlib/builtins. 3.6 KB Diff Download File
apply_bundle.py 2520.4.6 18 years ago Aaron Bentley Get installation started 2.8 KB Diff Download File
bundle_data.py 2858.2.1 18 years ago Martin Pool Remove most calls to safe_file_id and safe_revisio 29.2 KB Diff Download File
commands.py 2911.6.1 18 years ago Blake Winton Change 'print >> f,'s to 'f.write('s. 3.8 KB Diff Download File