Invalid http response BadStatusLine when multiple ranges are specified

Bug #914671 reported by pvagner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

When doing e.g. bzr branch http://bazaar.launchpad.net/~mixxxdevelopers/mixxx/trunk/ the bzr outputs bzr: ERROR: Invalid http response for http://bazaar.launchpad.net/~mixxxdevelope
rs/mixxx/trunk/.bzr/repository/packs/da7743a0581cc467280ec7fc17b1f76b.pack: Bad
status line received: BadStatusLine('\r\n'.
The verry same command works well when executed under linux.
I've tried both native windows as well as cygwin windows bzr instalations.
here's a branch which will also work under windows: http://bzr.nvaccess.org/nvda/main/
I can see this even with svn repositories e.g. from assembla.

Revision history for this message
pvagner (peter-v) wrote :
affects: bzr-mirror → bzr
Revision history for this message
Martin Packman (gz) wrote :

This sort of thing generally means there's a misbehaving HTTP proxy between you and the server, branching over ssh is one way of avoiding it.

What jumps out from the log is that lots of requests succeed before the one that fails, but they all ask for only one range, whereas the failing request wants two:

Range: bytes=0-41,1650-2378

It might be a bit much to detect this kind of bug in bzr and compensate, but a config option to avoid complex range requests might be useful as a workaround.

Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
summary: - problem accessing some repositories over http / https under windows
+ Invalid http response BadStatusLine when multiple ranges are specified
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.