Friday, September 18, 2015

tcp - option http-server-close on HAProxy haproxy-1.5-dev19 will result in Connection: close header sent in response

I basically have the following issue: whenever I add



option http-server-close 


to the haproxy config (either in frontend or backend section), haproxy will send a Connection: close header in the response - which is exactly the opposite of what is supposed to do.




I am basically trying to get client TCP connections persisted through keep-alive, but since this doesn't seem to work I can't have that unless I use the default (keep-alive) mode, which will do the same for the server-side - and I don't want that.



Any solutions? Is this a bug? Or am I missing something?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...