]> git.ipfire.org Git - thirdparty/squid.git/commit - src/auth/ntlm/UserRequest.cc
Fixes NTLM and Negotiate auth assertion "RefCountCount() == 2"
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 17 Apr 2011 03:35:52 +0000 (21:35 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 17 Apr 2011 03:35:52 +0000 (21:35 -0600)
commit58e9434217db9c8097319b618fba412319245e45
tree2043447e25335eb43c3f88366ff77b90bae80bf0
parenta86a4d3c4e116d50890aa7f8fad12a44db2ea162
Fixes NTLM and Negotiate auth assertion "RefCountCount() == 2"

It turns out the replay cache and invalid RefCount cases this was added to
protect againt are not present anyway. After some minor cleanup to remove
double-calls in Negotiate things appear to run nicely.

NOTE:
 There is still a risk that these problem cases may in future occur, but
 meanwhile we need NTLM and Negotiate to be usable and efficient.
 The bugs resulting from those can be dealt with if/when they do occur.
src/auth/User.cc
src/auth/negotiate/UserRequest.cc
src/auth/ntlm/UserRequest.cc