[PATCH] VSL_Arg rejects -L 0

Geoff Simmons geoff at uplex.de
Tue Apr 21 22:00:10 CEST 2015


Hello all,

Currently a VSL tool such as varnishlog crashes with the option -L 0
when the first transaction is read -- AN(vtx) in vsl_dispatch.c, since
the vslq->incomplete list is empty.

Transaction limit 0 doesn't make any sense, so this patch enforces -L > 0.


Best,
Geoff
-- 
** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753

http://uplex.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vsl_arg_L.patch
Type: text/x-patch
Size: 466 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150421/14443b0e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150421/14443b0e/attachment.pgp>


More information about the varnish-dev mailing list