Hello,
This doesn't seem to work with 1.5-dev6 with accept-proxy bindings :
http://tehlose.wordpress.com/2010/12/15/fun-stuff-with-latest-haproxy-version/
The stick table only contains a single key - 127.0.0.1 :
# table: distribution, type: ip, size:512000, used:1
0x125e114: key=127.0.0.1 use=3 exp=299990 conn_cur=3
It fills it with the correct IPs when I do the tracking on a backend.
But this doesn't help me as I wish to use this information on the frontend.
It does seem to work with 1.5-dev3 with NON proxy bindings.
What's wrong with my configuration ?
PS: it would be nice to have just this as an official sample in the
documentation. Acting in the frontend on the current number of
simultaneous connections is quite useful.