From: wessels <> Date: Tue, 10 Jan 2006 05:08:50 +0000 (+0000) Subject: Bugzilla #1463 X-Git-Tag: SQUID_3_0_PRE4~376 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bfe31cd2571d163da5975fa282859fcae39c466c;p=thirdparty%2Fsquid.git Bugzilla #1463 IdentLookup::checkForAsync() should only set asyncInProgress(true) when actually doing the non-blocking ident lookup. --- diff --git a/src/ACLIdent.cc b/src/ACLIdent.cc index 250aba5185..e764e16ab3 100644 --- a/src/ACLIdent.cc +++ b/src/ACLIdent.cc @@ -125,10 +125,9 @@ IdentLookup::Instance() void IdentLookup::checkForAsync(ACLChecklist *checklist)const { - checklist->asyncInProgress(true); - debug(28, 3) ("IdentLookup::checkForAsync: Doing ident lookup\n"); - if (checklist->conn().getRaw() != NULL) { + debug(28, 3) ("IdentLookup::checkForAsync: Doing ident lookup\n"); + checklist->asyncInProgress(true); identStart(&checklist->conn()->me, &checklist->conn()->peer, LookupDone, checklist); } else {