• 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
v00001.vtc 1003 Bytes