~bzr-pqm/bzr/2.3

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-29 02:08:01 UTC
  • mfrom: (5657.1.1 198646-http-boundary-2.3)
  • Revision ID: pqm@pqm.ubuntu.com-20110729020801-fn8z5s8tj0y3ddrb
(mbp) cope with proxies that drop the connection during a multipart response
 (bug 198646) (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
                        cur_offset_and_size = iter_offsets.next()
272
272
 
273
273
            except (errors.ShortReadvError, errors.InvalidRange,
274
 
                    errors.InvalidHttpRange), e:
 
274
                    errors.InvalidHttpRange, errors.HttpBoundaryMissing), e:
275
275
                mutter('Exception %r: %s during http._readv',e, e)
276
276
                if (not isinstance(e, errors.ShortReadvError)
277
277
                    or retried_offset == cur_offset_and_size):