• Poul-Henning Kamp's avatar
    Have the VCL compiler provide a hint about the worst case number of · 26194507
    Poul-Henning Kamp authored
    operations on the req.hash variable.
    
    It is only a hint, because it merely counts how many times the parser
    saw something being added to the req.hash variable.  If the operation
    was in a subroutine which was called multiple times, the hint will not
    reflect the number of actual operations.
    
    For now we will deal with that at runtime, at the expense of a
    failed transaction every time we run short.  If this becomes an issue,
    an extensive topological analysis of the VCL program can give us
    a definitive count.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1803 d4fa192b-c00b-0410-8231-f00ffab90ce4
    26194507
Name
Last commit
Last update
..
Makefile.am Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
sample.vcl Loading commit data...
syntax.txt Loading commit data...
vcc_acl.c Loading commit data...
vcc_action.c Loading commit data...
vcc_backend.c Loading commit data...
vcc_compile.c Loading commit data...
vcc_compile.h Loading commit data...
vcc_fixed_token.c Loading commit data...
vcc_gen_fixed_token.tcl Loading commit data...
vcc_gen_obj.tcl Loading commit data...
vcc_obj.c Loading commit data...
vcc_parse.c Loading commit data...
vcc_priv.h Loading commit data...
vcc_string.c Loading commit data...
vcc_token.c Loading commit data...
vcc_token_defs.h Loading commit data...
vcc_var.c Loading commit data...
vcc_xref.c Loading commit data...