Hi, Le 31/03/2014 22:26, David Birdsong a écrit :
I'm having trouble getting a rand acl to pass the configuration test. When did rand show up? I don't see mention of it here: http://haproxy.1wt.eu/download/1.5/src/CHANGELOG
> I'm running 1.5-dev22-1a34d57
It's because rand() was implemented after 1.5-dev22 : http://haproxy.1wt.eu/git?p=haproxy.git;a=commit;h=84310e2e731dbb6592cc063ae1c42ffc6b5f6e08 Changes sinces last release are listed in the snapshot changelog : http://haproxy.1wt.eu/download/1.5/src/snapshot/CHANGELOG
Error message: unknown fetch method 'rand' in ACL expression 'rand() config line: acl test_rand rand() ge 10 I've tried a few others: acl test_rand rand ge 10 acl test_rand rand(100) ge 10
Give a try to the current snapshot ;-) -- Cyril Bonté

