[Varnish] #1115: varnishncsa spuriously logs incorrect request URLs

Varnish varnish-bugs at varnish-cache.org
Mon Oct 15 13:03:03 CEST 2012


#1115: varnishncsa spuriously logs incorrect request URLs
-------------------------+---------------------
 Reporter:  lampe        |       Owner:  tfheen
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  varnishncsa  |     Version:  3.0.2
 Severity:  minor        |  Resolution:  fixed
 Keywords:               |
-------------------------+---------------------
Changes (by Tollef Fog Heen <tfheen@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [b2d19c5f6d3c3d661720a4c4ed2ff0b4695e6f04]) Use memchr rather than
 strchr/index

 the strings we get from the libvarnishapi functions are not
 necessarily null-terminated, so avoid using str* functions on them.

 Thanks to lampe for the patch.

 Fixes #1115

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1115#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list