BBlack has uploaded a new change for review.
https://gerrit.wikimedia.org/r/281643
Change subject: text VCL: do_stream when creating hit-for-pass
......................................................................
text VCL: do_stream when creating hit-for-pass
We already do_stream for all pass traffic, which includes passes
from hitting an existing hit-for-pass object. This is the only
case (well, aside from the Set-Cookie bug-catcher) where we fail
to set do_stream when *creating* a hit-for-pass object, which is
necessary if we want the same benefit in this case, as we don't
end up going through the vcl_pass -based do_stream logic when
initially creating the hit-for-pass object.
Change-Id: I98eaaad3d4f083a206c527512df0c2206f36fe58
---
M templates/varnish/text-common.inc.vcl.erb
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/43/281643/1
diff --git a/templates/varnish/text-common.inc.vcl.erb
b/templates/varnish/text-common.inc.vcl.erb
index 044f58c..387dd80 100644
--- a/templates/varnish/text-common.inc.vcl.erb
+++ b/templates/varnish/text-common.inc.vcl.erb
@@ -141,6 +141,7 @@
) {
set req.http.X-CDIS = req.http.X-CDIS + "+chfp"; //
+created-hit-for-pass
set beresp.ttl = 601s;
+ set beresp.do_stream = true;
return (hit_for_pass);
}
}
--
To view, visit https://gerrit.wikimedia.org/r/281643
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I98eaaad3d4f083a206c527512df0c2206f36fe58
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits