]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: centralize handling of unstable data in pattern_process()
authorWilly Tarreau <w@1wt.eu>
Thu, 26 Apr 2012 09:05:50 +0000 (11:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:18 +0000 (20:57 +0200)
commit40aebd92399d3184758b312856b58a2eae2429e0
treed18837dc24845f2008f6d723b4f7a10017248057
parent7fc1c6eefb7f3b64dee8f3a4a31e3b7f5a65dc2e
MINOR: pattern: centralize handling of unstable data in pattern_process()

Pattern fetch functions currently check for unstable data and return 0
when SMP_F_MAY_CHANGE is set. Instead of doing this everywhere and having
to support specific fetch functions, better do that in pattern_process()
which is the one interested in having stable data.
src/pattern.c