]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix stale=true on digest requests with unknown nonce
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 5 Mar 2010 23:13:33 +0000 (00:13 +0100)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 5 Mar 2010 23:13:33 +0000 (00:13 +0100)
commitfa004391c5c092e034ef865977dada246dd89568
tree587a9c98f7af974a0ae930495131f1957bfaa9a0
parentb41e42c2b43f00a8704fcf26193fa4416846308b
Fix stale=true on digest requests with unknown nonce

The nonce staleness check only worked if the stale nonce had not yet
been garbage collected, often resulting in incorrect stale=false
responses and resulting auth popups when using digest auth.

Note: this fix is different from how it's done in squid-2 where fixHeader
is called on all schemes in such conditions but only the active one with
and auth_user_request. Not entirely sure why that is done, but commit
message says something about Negotiate authentication.
src/auth/digest/auth_digest.cc