~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2007-04-22 16:32:04 UTC
  • mto: (2420.1.21 bzr.http.auth)
  • Revision ID: v.ladeuil+lp@free.fr-20070422163204-7iksk91jy9091nex
Handle nonce changes. Fix a nasty bug breaking the auth parameters sharing.

* bzrlib/tests/HTTPTestUtil.py:
(DigestAuthServer.digest_authorized): Check the nonce validity.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib._perform): Always update auth parameters
after a request processing, they could change at any moment.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractAuthHandler.update_auth): New method to track auth
modifications that should be lead to new authentications.
(AbstractAuthHandler.auth_required): Do not copy the auth
parameters but track the changes instead (copying breaks the auth
parameters sharing between cloned transports). Do not restrict the
auth 'identity' to be (user, realm, password) only.
(AbstractAuthHandler.auth_match): Document the auth parameter
update policy that MUST be respected to avoid retrying to
authenticate with wrong parameters, endlessly.
(AbstractAuthHandler.auth_successful): Not used anymore, but kept
in place if we ever want to handle the 'Authorization-Info' header.
Filename Latest Rev Last Changed Committer Comment Size
..
bzrlib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 17 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 2413.4.1 17 years ago John Arbash Meinel Cherrypick just the epydoc builder changes. This i 546 bytes Diff Download File
.rsyncexclude 1185.33.36 19 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 2420.1.13 17 years ago Vincent Ladeuil Merge bzr.dev 150 bytes Diff Download File
File bzr 2389.1.1 17 years ago Martin Pool Merge 0.15 final release back to trunk, including: 3.8 KB Diff Download File
bzr.ico 1861.2.16 18 years ago Alexander Belchenko new official bzr.ico 7.2 KB Diff Download File
COPYING.txt 1861.2.9 18 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
File generate_docs.py 1861.2.7 18 years ago Alexander Belchenko merge bzr.dev 2.9 KB Diff Download File
HACKING 2425.2.1 17 years ago Robert Collins Command objects can now declare related help topic 25.8 KB Diff Download File
INSTALL 2382.2.6 17 years ago Martin Pool Recommendation to delete bzrlib when installing 675 bytes Diff Download File
Makefile 2431 17 years ago Canonical.com Patch Queue Manager (John Arbash Meinel) 'make api-docs' will generate 4.5 KB Diff Download File
NEWS 2420.1.16 17 years ago Vincent Ladeuil Handle nonce changes. Fix a nasty bug breaking the 113 KB Diff Download File
profile_imports.py 1996.3.36 18 years ago John Arbash Meinel [merge] bzr.dev 2070 5.4 KB Diff Download File
README 2367.1.1 17 years ago Robert Collins Update NEWS to match bzr 0.15. 2.4 KB Diff Download File
setup.py 2245.4.4 17 years ago Alexander Belchenko setup.py: fix plain 'python setup.py install' for 7 KB Diff Download File
TODO 2382.2.5 17 years ago Martin Pool Contents of TODO file moved into bug tracker 115 bytes Diff Download File