• Poul-Henning Kamp's avatar
    · 8a1c2756
    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@3027 d4fa192b-c00b-0410-8231-f00ffab90ce4
    8a1c2756
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.am Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
t001.vtc Loading commit data...
vtc.c Loading commit data...
vtc.h Loading commit data...
vtc_client.c Loading commit data...
vtc_http.c Loading commit data...
vtc_log.c Loading commit data...
vtc_sema.c Loading commit data...
vtc_server.c Loading commit data...
vtc_varnish.c Loading commit data...