• Poul-Henning Kamp's avatar
    · 714e0ef6
    Poul-Henning Kamp authored
    NB: Be careful with -trunk, this is a quite intrusive change.
    
    Continue the progress on synthetic/error pages
    
    The default "guru meditation" is now generated from the vcl_error {}
    function, which can be redefined to whatever suits your taste.
    
    Techinical:
    
    Add new vcl_error method and make variables available in it.
    
    Fix a bug in "error" action, where the numeric argument would not get
    interpreted correctly if it came from a variable like obj.status.
    
    Forbid "error" action in vcl_deliver since vcl_error now goes to
    vcl_deliver to send the error object.
    
    Fix test v00001 to reflect this.
    
    Move the obj->ws/http initialization to preallocation time to avoid
    duplication.
    
    Add read-only variable req.xid (a string!)
    
    Add default guru meditation to default vcl.
    
    Remove cache_synthetic.c which is now unecessary.
    
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3027 d4fa192b-c00b-0410-8231-f00ffab90ce4
    714e0ef6
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...
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...
vbm.h Loading commit data...
vcl.h Loading commit data...
vcl_returns.h Loading commit data...
vct.h Loading commit data...
vev.h Loading commit data...
vlu.h Loading commit data...
vpf.h Loading commit data...
vqueue.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...