Bazaar fails with http transport on some servers

Aaron Bentley aaron at aaronbentley.com
Tue Apr 15 00:07:17 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> On Mon, 2008-04-14 at 15:17 -0400, Aaron Bentley wrote:
>> I think Bazaar needs to accept a wide range of failures when determining
>> whether the smart server is supported.  At least 403, 404, 405, 410.
>> Possibly 500, 501, 503 as well (i.e. fallback to dumb operations if the
>> smart server is broken).   But when doing normal operations, it should
>> not use this broader list.
> 
> Full ack. 403 is ok-but-strange here.
> 
> bb:approve on the original patch, though a test would be ideal.

The original patch looked like it treated 403 like 404, and that seems
overbroad in the general case.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIA+Ol0F+nu1YWqI0RAtOLAJkB+JuVZ2E1vCY4qUmABenfzGbVRQCggmWj
1zB5k3JG+zHa8M1cuwoByUs=
=sydj
-----END PGP SIGNATURE-----



More information about the bazaar mailing list