BBlack has submitted this change and it was merged.

Change subject: tlsproxy: turn proxy_request_buffering off for v4
......................................................................


tlsproxy: turn proxy_request_buffering off for v4

By default, nginx slurps the whole request body before talking to
a backend.  This unbuffers and lets the traffic go through
directly.  This is more-effective with 1.1, which we're only doing
with v4.

Change-Id: Ib29550bd3318929da0cb9c5cc8d981a4c8658754
---
M modules/tlsproxy/templates/localssl.erb
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  BBlack: Verified; Looks good to me, approved



diff --git a/modules/tlsproxy/templates/localssl.erb 
b/modules/tlsproxy/templates/localssl.erb
index 91d30df..32ccdc8 100644
--- a/modules/tlsproxy/templates/localssl.erb
+++ b/modules/tlsproxy/templates/localssl.erb
@@ -55,5 +55,8 @@
 
                proxy_redirect off;
                proxy_buffering off;
+<% if @varnish_version4 -%>
+               proxy_request_buffering off;
+<% end -%>
        }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib29550bd3318929da0cb9c5cc8d981a4c8658754
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Ema <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to