• 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
vcl.h 942 Bytes