Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

Trouble getting rid of Connection Keep-Alive header (3 replies)

$
0
0
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. "Connection: close").


I have tried adding "option httpclose" in the HAProxy config file, but still the response headers contains "Connection: keep-alive" and a "Keep-Alive: timeout=15, max=100".


I have even tried "rspdel ^Connection:\ .*" but still the response contains the above mentioned headers. (That I'm editing the right config file I have verified by successfully adding a rspadd instruction).


Any advice is much appreciated!


/ Mats

Viewing all articles
Browse latest Browse all 5112

Trending Articles