]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ident fixes
authorwessels <>
Sun, 24 Jan 1999 12:24:22 +0000 (12:24 +0000)
committerwessels <>
Sun, 24 Jan 1999 12:24:22 +0000 (12:24 +0000)
src/cf.data.pre
src/ident.cc

index 369d25c78c9bc512537ba6c9906f07fd1a7225d9..f9fb78897f646c37c2a3d487d96f483c5c7225e9 100644 (file)
@@ -1,6 +1,6 @@
 
 #
-# $Id: cf.data.pre,v 1.138 1999/01/24 04:03:49 wessels Exp $
+# $Id: cf.data.pre,v 1.139 1999/01/24 05:24:22 wessels Exp $
 #
 #
 # SQUID Internet Object Cache  http://squid.nlanr.net/Squid/
@@ -761,6 +761,7 @@ NAME: ident_lookup_access
 TYPE: acl_access
 IFDEF: USE_IDENT
 DEFAULT: none
+DEFAULT_IF_NONE: deny all
 LOC: Config.accessList.identLookup
 DOC_START
        A list of ACL elements which, if matched, cause an ident
index 68424b34df489b893c48e6180a3eccbf5d205074..c33776874cc07c65e4819aeedbf223794bf94931 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ident.cc,v 1.48 1999/01/24 04:03:52 wessels Exp $
+ * $Id: ident.cc,v 1.49 1999/01/24 05:24:22 wessels Exp $
  *
  * DEBUG: section 30    Ident (RFC 931)
  * AUTHOR: Duane Wessels
@@ -116,8 +116,11 @@ identConnectDone(int fd, int status, void *data)
        if (cbdataValid(c->callback_data))
            break;
     }
-    if (c == NULL)             /* no clients care */
+    if (c == NULL) {
+       /* no clients care */
        comm_close(fd);
+       return;
+    }
     memBufDefInit(&mb);
     memBufPrintf(&mb, "%d, %d\r\n",
        ntohs(state->peer.sin_port),