Hi all,
I have an application is sending a HTTP request to a machine behind a HAProxy vip but the response HAProxy is sending back appears to be missing some headers.
What the sending application is expecting is to see in the response is the “Connection: keep-alive” header, but via the HAProxy, this header is stripped out in the response.
I’ve been trying to write something that will add the header back in to the response if the back-end (receiving) server responds with a “Connection: keep-alive” header but it’s not working:
acl foo hdr(Connection) -m found
rspadd Connection:\ keep-alive if foo
Any ideas on how I can get this working?
Also, I cannot upgrade HAProxy at the moment as it’s actually in-built into an NSX edge…
Thanks!
Leon