r687 - trunk/varnish-cache/bin/varnishncsa
andersb at projects.linpro.no
andersb at projects.linpro.no
Sun Aug 6 00:43:01 CEST 2006
Author: andersb
Date: 2006-08-06 00:43:01 +0200 (Sun, 06 Aug 2006)
New Revision: 687
Modified:
trunk/varnish-cache/bin/varnishncsa/varnishncsa.c
Log:
Checks show that my IP adress checker is very restrictive and probably deletes other loglines. We still bleeds null lines also.
This will have to be cleaned up.
Modified: trunk/varnish-cache/bin/varnishncsa/varnishncsa.c
===================================================================
--- trunk/varnish-cache/bin/varnishncsa/varnishncsa.c 2006-08-05 22:12:28 UTC (rev 686)
+++ trunk/varnish-cache/bin/varnishncsa/varnishncsa.c 2006-08-05 22:43:01 UTC (rev 687)
@@ -134,7 +134,6 @@
ll[u].df_h[j] = '\0'; // put on a NULL at end of buffer.
//printf("New session [%d]: %s \n",u, ll[u].df_h);
ll[u].w = 1; // We have IP
- //printf("w = 1\n");
break;
@@ -283,7 +282,6 @@
strncpy(ll[u].df_h, p + 4, j);
ll[u].df_h[j] = '\0'; // put on a NULL at end of buffer.
ll[u].w = 1; // We have a IP
- //printf("w = 1\n");
}
More information about the varnish-commit
mailing list