Hi,

On Tue, Dec 31, 2013 at 01:58:57PM +0800, Delta Yeh wrote:
> Hi,
>    For proxy, server side keepalive works OK.
>    But it seemed haproxy dev21  server side keepalive does not work with
> tproxy.
> 
>   The config is :
> 
> backend www
>    source 0.0.0.0 usesrc hdr_ip(X-Real-IP)
>    server SERVER 1.2.3.4:80
>    no option http-server-close
>    option http-keep-alive
>    no option httpclose

Indeed, and this is intentional. As I said, at the moment we have a
very basic support. Dynamic IP addresses, source port ranges etc...
are still not compared (require more specific code) so the mechanism
is disabled in all situations where there is a risk of merging undesired
connections. Binding to a source header clearly is one of these. I hope
it will be complete for 1.5-final, and if too tricky for this release,
we'll probably backport it later.

Best regards,
Willy


Reply via email to