Hi Willy,

Le Lundi 25 Janvier 2010 02:29:24, Willy Tarreau a écrit :
> (...)
>   - the stickiness code was merged.

Sorry today I don't have time to work on a patch, but I hope the feedback will 
help you.
I've made a very quick test with this feature and I met 2 errors :
1. the code won't compile with DEBUG_FULL due to a typo in the DPRINTF 
parameters in the function process_store_rules() [src/session.c] (req instead 
of rep).

2. the configuration parser fails on "sticky-table".
I took the example provided in the documentation :
stick-table type ip size 200k expire 30m

which results in
parsing [../haproxy.cfg:16] : stick-table: missing size.

This is due to a conflict in cfgparse.c and the function stktable_parse_type() 
[src/stick_table.c] which both increment the args index : at the end of the 
loop in cfgparse.c, the index points to "200k" instead of "size".

(noticed in haproxy 1.4-dev8)

-- 
Cyril Bonté

Reply via email to