[Varnish] #1845: VSL-query can only capture last field, if using floats operand.

Varnish varnish-bugs at varnish-cache.org
Wed Jan 20 00:08:19 CET 2016


#1845: VSL-query can only capture last field, if using floats operand.
------------------------+--------------------------
 Reporter:  xcir        |       Owner:
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:
Component:  varnishlog  |     Version:  4.1.1-beta1
 Severity:  normal      |  Resolution:
 Keywords:  vsl-query   |
------------------------+--------------------------

Comment (by fgsch):

 I should have added, I've checked all instances and I couldn't find any
 issues.
 Specifically for the functions you have mentioned:

 1. std.duration() does the skipping in the code.
 2. VNUM_2bytes() allows for a space after the number.
 3. VNUM is mostly used for converting arguments so the space is a non-
 issue.

 If this is a concern we could use VNUMpfx() and do the whitespace skipping
 dance explicitly, however.

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



More information about the varnish-bugs mailing list