From 74c09caa0c63bddf449c819325c475e64393a1f4 Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Thu, 14 Sep 2017 11:42:22 -0300 Subject: [PATCH] Fix proxy request buffering default configuration --- core/pkg/ingress/controller/controller.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/core/pkg/ingress/controller/controller.go b/core/pkg/ingress/controller/controller.go index e4b5f6a8b5..b08469a171 100644 --- a/core/pkg/ingress/controller/controller.go +++ b/core/pkg/ingress/controller/controller.go @@ -1078,14 +1078,15 @@ func (ic *GenericController) createServers(data []interface{}, bdef := ic.GetDefaultBackend() ngxProxy := proxy.Configuration{ - BodySize: bdef.ProxyBodySize, - ConnectTimeout: bdef.ProxyConnectTimeout, - SendTimeout: bdef.ProxySendTimeout, - ReadTimeout: bdef.ProxyReadTimeout, - BufferSize: bdef.ProxyBufferSize, - CookieDomain: bdef.ProxyCookieDomain, - CookiePath: bdef.ProxyCookiePath, - NextUpstream: bdef.ProxyNextUpstream, + BodySize: bdef.ProxyBodySize, + ConnectTimeout: bdef.ProxyConnectTimeout, + SendTimeout: bdef.ProxySendTimeout, + ReadTimeout: bdef.ProxyReadTimeout, + BufferSize: bdef.ProxyBufferSize, + CookieDomain: bdef.ProxyCookieDomain, + CookiePath: bdef.ProxyCookiePath, + NextUpstream: bdef.ProxyNextUpstream, + RequestBuffering: bdef.ProxyRequestBuffering, } defaultPemFileName := fakeCertificatePath