[Varnish] #1683: varnishncsa should log the last value in vcl sub

Varnish varnish-bugs at varnish-cache.org
Mon Feb 23 13:08:26 CET 2015


#1683: varnishncsa should log the last value in vcl sub
-----------------------+--------------------
 Reporter:  razvanphp  |       Type:  defect
   Status:  new        |   Priority:  normal
Milestone:             |  Component:  build
  Version:  4.0.3      |   Severity:  normal
 Keywords:             |
-----------------------+--------------------
 Related to Ticket #1462, there is another case when varnishncsa does not
 log changed header values, that is when we set a header twice or overwrite
 it in vcl_recv.

 For example:  https://github.com/varnish/varnish-
 devicedetect/blob/master/devicedetect.vcl

 In this case, we can never log the correct device of the user, because
 varnishncsa will only pick the first one (pc). I think it makes more sense
 to use the LAST value.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1683>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list