[master] 2c33188b3 Set ESI:include'ded objs's status to 200
Poul-Henning Kamp
phk at FreeBSD.org
Tue Jan 31 14:45:07 UTC 2023
commit 2c33188b34d10b78449cd0e44211b80047ed3884
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jan 31 14:22:59 2023 +0000
Set ESI:include'ded objs's status to 200
diff --git a/bin/varnishtest/tests/r01688.vtc b/bin/varnishtest/tests/r01688.vtc
index ff10e0005..9819d3675 100644
--- a/bin/varnishtest/tests/r01688.vtc
+++ b/bin/varnishtest/tests/r01688.vtc
@@ -18,6 +18,7 @@ varnish v1 -vcl+backend {
sub vcl_synth {
if (resp.status == 998) {
+ set resp.status = 200;
set resp.body = "this is the body of an " +
"included synthetic response";
return(deliver);
diff --git a/bin/varnishtest/tests/r01838.vtc b/bin/varnishtest/tests/r01838.vtc
index 077851f70..4e6d1c74e 100644
--- a/bin/varnishtest/tests/r01838.vtc
+++ b/bin/varnishtest/tests/r01838.vtc
@@ -14,6 +14,7 @@ varnish v1 -vcl+backend {
sub vcl_synth {
if (resp.status == 998) {
+ set resp.status = 200;
set resp.body = "synthetic body";
return (deliver);
}
More information about the varnish-commit
mailing list