r580 - in trunk/varnish-cache: bin/varnishd bin/varnishlog include
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Jul 31 23:51:06 CEST 2006
In message <20060731214929.95B261EC3AD at projects.linpro.no>, phk at projects.linpro
.no writes:
Anders, you will probably need to make a change similar to this in
varnishncsa.
>===================================================================
>--- trunk/varnish-cache/bin/varnishlog/varnishlog.c 2006-07-31 21:46:32 UTC (rev 579)
>+++ trunk/varnish-cache/bin/varnishlog/varnishlog.c 2006-07-31 21:49:29 UTC (rev 580)
>@@ -126,7 +126,7 @@
> else
> v = 1;
> break;
>- case SLT_Request:
>+ case SLT_RxRequest:
> if (h_opt && p[1] == 3 && !memcmp(p + 4, "GET", 3))
> hc[u]++;
> if (h_opt && p[1] == 4 && !memcmp(p + 4, "HEAD", 4))
>@@ -137,7 +137,7 @@
> xrf[u] = atoi(p + 4);
> v = 1;
> break;
>- case SLT_Status:
>+ case SLT_RxStatus:
> if (h_opt && p[1] == 3 && !memcmp(p + 4, "200", 3))
> hc[u]++;
> v = 1;
>
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-commit
mailing list