[Bug 373421] address potential race condition related to the nonce queue
removing the same nonce twice
This commit is contained in:
parent
d717be1450
commit
c7a4c80da5
|
@ -254,7 +254,7 @@ public class DigestAuthenticator extends LoginAuthenticator
|
|||
Nonce nonce=_nonceQueue.peek();
|
||||
while (nonce!=null && nonce._ts<expired)
|
||||
{
|
||||
_nonceQueue.remove();
|
||||
_nonceQueue.remove(nonce);
|
||||
_nonceCount.remove(nonce._nonce);
|
||||
nonce=_nonceQueue.peek();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue