From: Oliver Dumschat Date: Thu, 10 Jul 2014 14:01:34 +0000 (-0700) Subject: Bug 4080: worker hangs when client identd is not responding X-Git-Tag: SQUID_3_5_0_1~162 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbb4956c2b253b5615edc15b3cf972a23838c9fa;p=thirdparty%2Fsquid.git Bug 4080: worker hangs when client identd is not responding --- diff --git a/src/ident/Ident.cc b/src/ident/Ident.cc index 3217fe0659..da4a59e667 100644 --- a/src/ident/Ident.cc +++ b/src/ident/Ident.cc @@ -124,9 +124,10 @@ Ident::ConnectDone(const Comm::ConnectionPointer &conn, Comm::Flag status, int x IdentStateData *state = (IdentStateData *)data; if (status != Comm::OK) { - if (status == Comm::TIMEOUT) { + if (status == Comm::TIMEOUT) debugs(30, 3, "IDENT connection timeout to " << state->conn->remote); - } + static char result[2] = "\0"; + Ident::identCallback(state, result); return; }