~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2540.2.2.

  • Committer: Vincent Ladeuil
  • Date: 2007-06-26 09:12:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2578.
  • Revision ID: v.ladeuil+lp@free.fr-20070626091244-nou3usgr34947wz9
Fix #120678 by issuing a CONNECT request when https is used via a proxy.

* bzrlib/transport/http/_urllib2_wrappers.py:
(_ConectRequest): Make the class private and better document its
purpose.
(AbstractAuthHandler): Limit the attempts to
authenticate. Otherwise, in the very special case of CONNECT, if
the credentials are wrong we loop recursively until the stack
explodes.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: