• Poul-Henning Kamp's avatar
    Make it possible to declare stand-alone backend probes and reference · 68d0daef
    Poul-Henning Kamp authored
    them by name:
    
    	probe foo {
    	    .url = "/";
    	    .timeout = 1s;
    	}
    
    	director default random {
    	    { .backend = {.host = "10.0.0.1"; .probe = foo; } .weight = 1; }
    	    { .backend = {.host = "10.0.0.2"; .probe = foo; } .weight = 1; }
    	    { .backend = {.host = "10.0.0.3"; .probe = foo; } .weight = 1; }
    	    { .backend = {.host = "10.0.0.4"; .probe = foo; } .weight = 1; }
    	    { .backend = {.host = "10.0.0.5"; .probe = foo; } .weight = 1; }
    	    { .backend = {.host = "10.0.0.6"; .probe = foo; } .weight = 1; }
    	    { .backend = {.host = "10.0.0.7"; .probe = foo; } .weight = 1; }
    	}
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4985 d4fa192b-c00b-0410-8231-f00ffab90ce4
    68d0daef
v00014.vtc 783 Bytes