On Tue, 12 Apr 2011 22:59:19 +0200, Guillaume Castagnino wrote:
option http-server-close is sufficient and allow client side
keep-alive.
Moreover, to achive a good load balancing, server side keepalice
NEEDS to be disabled (with http-server-close
option) since mutiple connections inside one keep-alive session are
not balanced...
That is correct.
However, I suspect that tomcat uses a lot of resources when a
connection is established, that why I wanted to test it with keepalive.
So, there is no way to have haproxy send the x-forwarded-for with each
requests of the keepalived connection ?
Julien