[MediaWiki-commits] [Gerrit] Varnish: add unset Range hack for mobile too - change (operations/puppet)

2013-11-20 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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


Change subject: Varnish: add unset Range hack for mobile too
..

Varnish: add unset Range hack for mobile too

Change-Id: Id2970732158d25f83aa19841a9b377bd48e5c077
---
M templates/varnish/mobile-frontend.inc.vcl.erb
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/79/96579/1

diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb 
b/templates/varnish/mobile-frontend.inc.vcl.erb
index d1cd931..6731af8 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -13,6 +13,11 @@
 sub vcl_recv {
call filter_noise;
 
+   /* FIXME: we're seeing an issue with Range requests and gzip/gunzip.
+* Disable Range requests for now.
+*/
+   unset req.http.Range;
+
if (!req.http.X-Forwarded-Proto) {
/* This call will always set the following req.http values:
X-Subdomain = M or ZERO

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2970732158d25f83aa19841a9b377bd48e5c077
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Varnish: add unset Range hack for mobile too - change (operations/puppet)

2013-11-20 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: Varnish: add unset Range hack for mobile too
..


Varnish: add unset Range hack for mobile too

Change-Id: Id2970732158d25f83aa19841a9b377bd48e5c077
---
M templates/varnish/mobile-frontend.inc.vcl.erb
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Faidon Liambotis: Verified; Looks good to me, approved



diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb 
b/templates/varnish/mobile-frontend.inc.vcl.erb
index d1cd931..6731af8 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -13,6 +13,11 @@
 sub vcl_recv {
call filter_noise;
 
+   /* FIXME: we're seeing an issue with Range requests and gzip/gunzip.
+* Disable Range requests for now.
+*/
+   unset req.http.Range;
+
if (!req.http.X-Forwarded-Proto) {
/* This call will always set the following req.http values:
X-Subdomain = M or ZERO

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id2970732158d25f83aa19841a9b377bd48e5c077
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org

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