# How to retain connection header ( keep-alive )

**URL:** <https://discourse.haproxy.org/t/how-to-retain-connection-header-keep-alive/7793>\
**Category:** Help!\
**Created:** [June 27, 2022, 2:53pm UTC](https://discourse.haproxy.org/t/how-to-retain-connection-header-keep-alive/7793 "2022-06-27T14:53:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zino](https://avatars.discourse-cdn.com/v4/letter/z/d07c76/32.png) [@zino](https://discourse.haproxy.org/u/zino)\
**Post date:** [June 27, 2022, 2:53pm UTC](https://discourse.haproxy.org/t/how-to-retain-connection-header-keep-alive/7793/1 "2022-06-27T14:53:47Z")

</div>

connection header has gone if server send response with connection: keep-alive.

I already read a doc ( [Repositories - haproxy-2.5.git/blob - doc/internals/connection-header.txt](http://git.haproxy.org/?p=haproxy-2.5.git;a=blob;f=doc/internals/connection-header.txt;h=b74cea0cc9534da98d57760b81289af662647895;hb=HEAD) )

how to retain connection header and ignore the connection-header rules.

Some client is validating response connection header. I know it is weird.
