• Poul-Henning Kamp's avatar
    Add VCC support for backend probe specifications. · e1523131
    Poul-Henning Kamp authored
    It is possible to specify just the URL to be probed, or to specify the
    entire HTTP request:
    
    	backend b0 {
    		.host = "127.0.0.1";
    		.probe = {
    			.url = "/test.jpg";
    			.timeout = 224 ms;
    		}
    	}
    
    	backend b1 {
    		.host = "127.0.0.1";
    		.probe = {
    			# NB: \r\n automatically inserted after each string!
    			.request =
    			    "GET / HTTP/1.1"
    			    "Host: www.foo.bar"
    			    "Connection: close";
    			.timeout = 0.3 s;
    		}
    	}
    
    If the full request has not been completed within the timeout, the
    backend will be set to down.
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2902 d4fa192b-c00b-0410-8231-f00ffab90ce4
    e1523131
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
man Loading commit data...
redhat Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
varnishapi.pc.in Loading commit data...