Ema has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/283195

Change subject: misc-backend.inc.vcl: set do_stream=false when testing
......................................................................

misc-backend.inc.vcl: set do_stream=false when testing

Set do_stream=false in the test version of misc-backend.inc.vcl to be
able to test the changes introduced in e5e8717.

Change-Id: I278f2e54c38e5155e69791b476a387b0378ba9d4
---
M templates/varnish/misc-backend.inc.vcl.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/95/283195/1

diff --git a/templates/varnish/misc-backend.inc.vcl.erb 
b/templates/varnish/misc-backend.inc.vcl.erb
index 3993578..5b24543 100644
--- a/templates/varnish/misc-backend.inc.vcl.erb
+++ b/templates/varnish/misc-backend.inc.vcl.erb
@@ -52,7 +52,7 @@
 <% end -%>
     }
 
-<% if @cache_route == 'direct' -%>
+<% if @cache_route == 'direct' or @varnish_testing -%>
     // Direct backend caches:
     // Disable streaming if no Content-Length present.  This is the default in
     // varnish3, but in varnish4 this should convert them to responses

-- 
To view, visit https://gerrit.wikimedia.org/r/283195
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I278f2e54c38e5155e69791b476a387b0378ba9d4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to