]] Chris Davies | And in VCL, how do I tell the health of the backend within a director?
something like:
backend foo {
…
}
director rr round-robin {
{ .backend = foo; }
…
}
sub vcl_recv {
set req.backend = foo;
if (!req.backend.healthy) {
# Handle this
}
set req.backend = rr;
}
--
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
