]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: acl: fix regression introduced by latest converters support
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Dec 2013 01:19:58 +0000 (02:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Dec 2013 01:23:13 +0000 (02:23 +0100)
commit67ff7e0af37d093dbceb56a353d84fa4ffd10a7e
tree545d1924d5c0a99a452a362477b922206062d5b7
parent26f4a047445583666a73a4a6d621e814bc4375da
BUG/MEDIUM: acl: fix regression introduced by latest converters support

Since commit 348971e (MEDIUM: acl: use the fetch syntax
'fetch(args),conv(),conv()' into the ACL keyword), ACLs wait on input
that may change. This is visible in the configuration below :

        tcp-request inspect-delay 3s
        tcp-request content accept if REQ_CONTENT

Nothing will pass before the end of the timer. This is because
historically, sample_process() was dedicated to stick tables where
it was absolutely necessary to wait for a stable sample. Now samples
are used by many other things and we can't afford this. So let's move
this check to the stick tables after the call to sample_process()
instead.

This is post-1.5-dev19 work, no backport is required.
src/sample.c
src/stick_table.c