• Poul-Henning Kamp's avatar
    Complete the separation of synthetic from received objects. · 3e610dc8
    Poul-Henning Kamp authored
    	Any object, also errors, we receive from the backend will
    	go to vcl_fetch(), and can be cached if desired.
    
    	Any object we create, for instance if we cannot contact the
    	backend, will go to vcl_error() and will not be cached.
    
    Technical details:
    
    	Implement VCL variable setting for booleans like obj.cacheable.
    
    	Remove obj.valid, only valid objects go to vcl_fetch now.
    
    	On fetch failure, drop the object and go to STP_ERROR with 503
    
    	Update testcase b00015.vtc accordingly.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk@3044 d4fa192b-c00b-0410-8231-f00ffab90ce4
    3e610dc8
vrt_obj.h 2.45 KB