• 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
..
varnishadm Loading commit data...
varnishd Loading commit data...
varnishhist Loading commit data...
varnishlog Loading commit data...
varnishncsa Loading commit data...
varnishreplay Loading commit data...
varnishstat Loading commit data...
varnishtest Loading commit data...
varnishtop Loading commit data...
Makefile.am Loading commit data...