[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haproxy
Subject:    Re: It seemed haproxy dev21 server side keepalive does not works with tproxy.
From:       Delta Yeh <delta.yeh () gmail ! com>
Date:       2013-12-31 6:27:51
Message-ID: CADKMG53Gy-ht=UPCsNLCdBz5ePFQxVqByi9uwix0OLF76PiNog () mail ! gmail ! com
[Download RAW message or body]

Hi Willy,
   Good to know it is an known limitation for 1.5dev21, hope good news from
1.5 final in near future.
   Thank you and the team for haproxy.
   Happy New Year!!

BR,
DeltaY


2013/12/31 Willy Tarreau <w@1wt.eu>

> 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
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div><div><div><div>Hi Willy,<br></div>     Good to know it is an \
known limitation for 1.5dev21, hope good news from 1.5 final in near \
future.<br></div></div><div>     Thank you and the team for haproxy.<br>     Happy \
New Year!!</div>

<div><br></div>BR,<br></div>DeltaY<br></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">2013/12/31 Willy Tarreau <span dir="ltr">&lt;<a \
href="mailto:w@1wt.eu" target="_blank">w@1wt.eu</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

Hi,<br>
<div><div class="h5"><br>
On Tue, Dec 31, 2013 at 01:58:57PM +0800, Delta Yeh wrote:<br>
&gt; Hi,<br>
&gt;      For proxy, server side keepalive works OK.<br>
&gt;      But it seemed haproxy dev21   server side keepalive does not work with<br>
&gt; tproxy.<br>
&gt;<br>
&gt;    The config is :<br>
&gt;<br>
&gt; backend www<br>
&gt;      source 0.0.0.0 usesrc hdr_ip(X-Real-IP)<br>
&gt;      server SERVER <a href="http://1.2.3.4:80" \
target="_blank">1.2.3.4:80</a><br> &gt;      no option http-server-close<br>
&gt;      option http-keep-alive<br>
&gt;      no option httpclose<br>
<br>
</div></div>Indeed, and this is intentional. As I said, at the moment we have a<br>
very basic support. Dynamic IP addresses, source port ranges etc...<br>
are still not compared (require more specific code) so the mechanism<br>
is disabled in all situations where there is a risk of merging undesired<br>
connections. Binding to a source header clearly is one of these. I hope<br>
it will be complete for 1.5-final, and if too tricky for this release,<br>
we&#39;ll probably backport it later.<br>
<br>
Best regards,<br>
Willy<br>
<br>
</blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic