Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Dev

[PATCH] Fix time_firstbyte bug in varnishncsa

 

 

Varnish dev RSS feed   Index | Next | Previous | View Threaded


jbq at caraldi

Aug 29, 2011, 6:03 AM

Post #1 of 2 (241 views)
Permalink
[PATCH] Fix time_firstbyte bug in varnishncsa

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


tfheen at varnish-software

Aug 30, 2011, 12:08 AM

Post #2 of 2 (240 views)
Permalink
Re: [PATCH] Fix time_firstbyte bug in varnishncsa [In reply to]

]] Jean-Baptiste Quenot

| 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

Ooops, thanks, applied.

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

Good to hear. :-)

--
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64

_______________________________________________
varnish-dev mailing list
varnish-dev [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Varnish dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.