Re: Trouble getting rid of Connection Keep-Alive header

2017-06-24 Thread Aleksandar Lazic
Title: Re: Trouble getting rid of Connection Keep-Alive header Hi Mats Eklund, Mats Eklund wrote on 23.06.2017: Hi Aleks, I'm on Openshift Online v2. As I answerd on SO I haven't used v2. I have been able to make changes to the config file, and for them to take effect,

Re: Trouble getting rid of Connection Keep-Alive header

2017-06-23 Thread Mats Eklund
Hi again, It looks like the "option httpclose" is effective, even though the client receives a keep-alive header, likely from another intermediate proxy. >From the HAProxy status page, I can see that the number of concurrent sessions >is kept low. And this is really what matters I believe (no

Re: Trouble getting rid of Connection Keep-Alive header

2017-06-23 Thread Mats Eklund
Hi Aleks, I'm on Openshift Online v2. I have been able to make changes to the config file, and for them to take effect, following this article: https://stackoverflow.com/questions/23569365/can-i-tweak-openshifts-haproxy-cfg-using-a-file-in-my-scalable-apps-git-reposi Mats Aleks wrote:

Re: Trouble getting rid of Connection Keep-Alive header

2017-06-22 Thread Aleksandar Lazic
Title: Re: Trouble getting rid of Connection Keep-Alive header Hi Mats, Mats Eklund wrote on 22.06.2017: Hi Holger, Many thanks for this hint. I guess I will need to follow up with Openshift/RedHat. I have posted a question in the forum there, but so far no feedback: https

Re: Trouble getting rid of Connection Keep-Alive header

2017-06-21 Thread Mats Eklund
Hi Holger, Many thanks for this hint. I guess I will need to follow up with Openshift/RedHat. I have posted a question in the forum there, but so far no feedback: https://stackoverflow.com/questions/44134775/how-to-suppress-http-connection-keep-alive-header-in-response. Thanks also for the a

Re: Trouble getting rid of Connection Keep-Alive header

2017-06-21 Thread Lukas Tribus
Hi Mats, Am 21.06.2017 um 14:30 schrieb Mats Eklund: > > Hi, > > > Thanks, here's the full config: > So for the record, what you are trying to achieve is to disable HTTP keep-alive between haproxy and the browser? In the default section, replace: option http-server-close with: option httpclose

Re: Trouble getting rid of Connection Keep-Alive header

2017-06-21 Thread Holger Just
Hi Mats, Mats Eklund wrote: > I am running a load balanced Tomcat application on Openshift Online > v2, with HAProxy ver. 1.4.22 as load balancer. With your current config, HAProxy will add a "Connection: close" header to responses. However, since you mentioned you are running this in an OpenShif

Re: Trouble getting rid of Connection Keep-Alive header

2017-06-21 Thread Mats Eklund
Hi, Thanks, here's the full config: global maxconn 256 stats socket ... defaults modehttp log global option httplog option dontlognull option http-server-close #option forwardfor exc

Re: Trouble getting rid of Connection Keep-Alive header

2017-06-20 Thread Lukas Tribus
Hello Mats, Am 21.06.2017 um 07:59 schrieb Mats Eklund: > > > Hi, > > > I am running a load balanced Tomcat application on Openshift Online v2, with > HAProxy ver. 1.4.22 as load balancer. > > > I would like to have HTTP connections closed after each response is returned. > But am unable to mak

Trouble getting rid of Connection Keep-Alive header

2017-06-20 Thread Mats Eklund
Hi, I am running a load balanced Tomcat application on Openshift Online v2, with HAProxy ver. 1.4.22 as load balancer. I would like to have HTTP connections closed after each response is returned. But am unable to make the response contain the corresponding response headers (i.e. "Connectio