To be more clear:
There is "client side", which is client to haproxy.
And there is "server side", which is haproxy to server.
My patch implement mark for "server side", while
http-request/http-response as i see in source code only for "client
side".
On 2013-12-23 15:04, Baptiste wrote:
Hi Denys,
the way for http-request is from client to server.
Baptiste
On Mon, Dec 23, 2013 at 1:49 PM, Denys Fedoryshchenko
<[email protected]> wrote:
Hi
As far as i know it will set mark only for "client side" connections,
but
not connections to backend.
On 2013-12-23 14:32, Lukas Tribus wrote:
Hi,
backend transparent-cache1
option transparent
option tcp-smart-connect
source 10.0.253.26 usesrc clientip set-mark 0x11
Doesn't the following configuration achieve what you are trying to
do?
backend transparent-cache1
option transparent
option tcp-smart-connect
source 10.0.253.26 usesrc clientip
http-request set-mark 0x11
http-response set-mark 0x11
Regards,
Lukas