]> err.no Git - varnish/commit
Add a new backend attribute in VCL: "connect_timeout".
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 30 May 2008 22:18:26 +0000 (22:18 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 30 May 2008 22:18:26 +0000 (22:18 +0000)
commitec052a9c5485e5027bd46620dd4438ee7bc5ad8d
tree8c2a461c922bd733ecac11d6e58148fc7fe33789
parentd0db89398846db754400d1e96c02f091b06e8153
Add a new backend attribute in VCL: "connect_timeout".

This is how long time we wait for a TCP connection to the backend to
become established.

Typical usage:

backend b1 {
.host = "hex";
.port = "80";
.connect_timeout = 500 ms;
}

It can also be used in backends in director declarations.

Also add a parameter called "connect_timeout" which sets the default
to 400 msec (a number pulled out of my old black magicians hat).

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2642 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_backend.c
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/mgt_param.c
varnish-cache/include/vrt.h
varnish-cache/lib/libvcl/vcc_backend.c
varnish-cache/lib/libvcl/vcc_fixed_token.c