BBlack has uploaded a new change for review.

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

Change subject: mobile-frontend: remove dead 666-redirect handler
......................................................................

mobile-frontend: remove dead 666-redirect handler

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


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/99/231299/1

diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb 
b/templates/varnish/mobile-frontend.inc.vcl.erb
index 1ff8615..b7599aa 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -127,14 +127,6 @@
 }
 
 sub vcl_error {
-       // Support mobile redirects
-       if (obj.status == 666) {
-               set obj.http.Location = obj.response;
-               set obj.status = 302;
-               set obj.http.Connection = "keep-alive";
-               return (deliver);
-       }
-
        call errorpage;
        return (deliver);
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f70ba531f820d52627bb38b7be910647c3fda29
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

Reply via email to