• Poul-Henning Kamp's avatar
    Yet another refinement to the way we store and deal with HTTP headers. · 797aec02
    Poul-Henning Kamp authored
    Record a triplet of {start, data, end} for all HTTP data items.
    
    This represents a regrettable uglification of the sourcecode, but
    most of it compiles out to constants and the runtime benefits will
    be worth it.
    
    Generate H_FOO magic strings for all the headers we know about.
    These strings have a length as first char and always ends in ':'.
    
    Also genereate H_FOO format strings in VCL compiler.
    
    Mandate (with assert) that header references happen using H_FOO strings.
    
    Make number of allowed HTTP headers a compile time constant (32)
    but make the workspace a run-time variable (4096).
    
    Introduce new SHM tag for dumping aborted HTTP protocol requests.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@531 d4fa192b-c00b-0410-8231-f00ffab90ce4
    797aec02
Name
Last commit
Last update
..
varnish Loading commit data...
Makefile.am Loading commit data...
binary_heap.h Loading commit data...
cli.h Loading commit data...
cli_priv.h Loading commit data...
compat.h Loading commit data...
hash.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...
sbuf.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...
tree.h Loading commit data...
varnishapi.h Loading commit data...
vcl.h Loading commit data...
vcl_returns.h Loading commit data...
vrt.h Loading commit data...