[PATCH] Fix time_firstbyte bug in varnishncsa

Jean-Baptiste Quenot jbq at caraldi.com
Mon Aug 29 15:03:18 CEST 2011


Hi there,

Here is a patch against 3.0.1 rc1 to fix handling of the
%{Varnish:time_firstbyte}x format flag in varnishncsa:

http://dl.dropbox.com/u/5836407/Patches/Varnish_3.0.1-rc1-Fix-time_firstbyte-bug-in-varnishncsa.patch

Otherwise, I tested the feature to log any response header, and it works
fine for logging the object age:

    %{Host}i %h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"
%{Varnish:time_firstbyte}x %{Age}o

Cheers,
-- 
Jean-Baptiste Quenot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110829/ed14a206/attachment-0003.html>


More information about the varnish-dev mailing list