• Poul-Henning Kamp's avatar
    Add code to VCC to output an identifier for each simple backend which · 6eef6757
    Poul-Henning Kamp authored
    varnishd can use to decide if a backend state can be shared between
    multiple VCL programs.
     
    Originally the idea was to calculate a strong hash over the tokens 
    which define the backend.  
    
    Considering the relatively short lengths of backend declarations
    and the infrequency of comparisons, we have opted for an extremely
    weak hash instead:  We simply output the space separted tokens as
    a string.
     
    The net change in code for simple backends is marginal, but for
    complex backends this will be a lot simpler to implement.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2007 d4fa192b-c00b-0410-8231-f00ffab90ce4
    6eef6757
Name
Last commit
Last update
..
compat Loading commit data...
Makefile.am Loading commit data...
binary_heap.h Loading commit data...
cli.h Loading commit data...
cli_common.h Loading commit data...
cli_priv.h Loading commit data...
flopen.h Loading commit data...
http_headers.h Loading commit data...
libvarnish.h Loading commit data...
libvcl.h Loading commit data...
miniobj.h Loading commit data...
queue.h Loading commit data...
shmlog.h Loading commit data...
shmlog_tags.h Loading commit data...
stat_field.h Loading commit data...
stats.h Loading commit data...
varnishapi.h Loading commit data...
vcl.h Loading commit data...
vcl_returns.h Loading commit data...
vpf.h Loading commit data...
vrt.h Loading commit data...
vrt_obj.h Loading commit data...
vsb.h Loading commit data...
vss.h Loading commit data...