From e8d3d9b1b8da0c77e13229d0633af3502dda699e Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 24 Apr 2006 19:10:09 +0000 Subject: [PATCH] Add an indecisive comment git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@145 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/varnishd.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/varnish-cache/bin/varnishd/varnishd.c b/varnish-cache/bin/varnishd/varnishd.c index 17d689be..a256e65d 100644 --- a/varnish-cache/bin/varnishd/varnishd.c +++ b/varnish-cache/bin/varnishd/varnishd.c @@ -66,6 +66,14 @@ vcl_default(const char *bflag) char *buf, *vf; struct sbuf *sb; + /* + * XXX: should do a "HEAD /" on the -b argument to see that + * XXX: it even works. On the other hand, we should do that + * XXX: for all backends in the cache process whenever we + * XXX: change config, but for a complex VCL, it might not be + * XXX: a bug for a backend to not reply at that time, so then + * XXX: again: we should check it here in the "trivial" case. + */ buf = NULL; asprintf(&buf, "backend default {\n" -- 2.39.5