[Bug 373421] address potential race condition related to the nonce queue

removing the same nonce twice
This commit is contained in:
Jesse McConnell 2012-03-16 15:39:10 -05:00
parent d717be1450
commit c7a4c80da5
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}