[master] 0d0a6ce Try again to make server.hostname and server.identity available in all VCL_methods.
Poul-Henning Kamp
phk at FreeBSD.org
Fri Sep 19 18:12:04 CEST 2014
commit 0d0a6ce7dfd74ca07ee42b561e92a5a2b3e30e17
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Sep 19 16:11:24 2014 +0000
Try again to make server.hostname and server.identity available
in all VCL_methods.
Apologies for the previous breakage.
diff --git a/bin/varnishtest/tests/v00001.vtc b/bin/varnishtest/tests/v00001.vtc
index 1798ec9..822c847 100644
--- a/bin/varnishtest/tests/v00001.vtc
+++ b/bin/varnishtest/tests/v00001.vtc
@@ -32,6 +32,8 @@ varnish v1 -vcl+backend {
set beresp.proto = "HTTP/1.2";
set beresp.reason = "For circular files";
set beresp.status = 903;
+ set beresp.http.y-served-by-hostname = server.hostname;
+ set beresp.http.y-served-by-identity = server.identity;
}
sub vcl_deliver {
set resp.proto = "HTTP/1.2";
More information about the varnish-commit
mailing list