Varnishlog.c

Anders Berg andersb at vgnett.no
Fri Jul 28 14:06:16 CEST 2006


Hi,

I took a look at:

http://varnish.projects.linpro.no/browser/trunk/varnish-cache/bin/ 
varnishlog/varnishlog.c


Line 132 sould be: if (h_opt && p[1] == 4 && !memcmp(p + 4, "HEAD",  
4) I guess, rather than:

if (h_opt && p[1] == 4 && !memcmp(p + 4, "HEAD", 3)

Not sure since I have only a vague clue as to what the code does, but  
the pattern suggests it :)

Also, I am scratching my head about the -h parameter in the code  
line: 214. Is this supposed to be the -r param?

Anders Berg







More information about the varnish-dev mailing list