]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4080: worker hangs when client identd is not responding
authorOliver Dumschat <necromot@googlemail.com>
Sun, 13 Jul 2014 03:22:40 +0000 (21:22 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 13 Jul 2014 03:22:40 +0000 (21:22 -0600)
src/ident/Ident.cc

index 3f15b8700bf4a3d23e01fc519713dd04a1c78458..028fa1b1d0ca0cdb12432579304161b6ae496c10 100644 (file)
@@ -123,9 +123,9 @@ Ident::ConnectDone(const Comm::ConnectionPointer &conn, comm_err_t 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);
-        }
+        Ident::identCallback(state, NULL);
         return;
     }