]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4080: worker hangs when client identd is not responding
authorOliver Dumschat <necromot@googlemail.com>
Thu, 10 Jul 2014 14:01:34 +0000 (07:01 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 10 Jul 2014 14:01:34 +0000 (07:01 -0700)
src/ident/Ident.cc

index 3217fe0659d46fd905829d80271110a39e27dae1..da4a59e667075c74d9a88a4db404c73b2fffcf60 100644 (file)
@@ -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;
     }