]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] session: don't resync FSMs on non-interesting changes
authorWilly Tarreau <w@1wt.eu>
Sat, 21 Mar 2009 21:09:29 +0000 (22:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 21 Mar 2009 21:09:29 +0000 (22:09 +0100)
commit06bea9426617699b5bf849c4cc7813572e066f14
tree95f41d8d43ece4cfdd8e855a24d06cdd204804b0
parent1b194fe03ed2e581de3a26ac06c692aee8623df0
[MEDIUM] session: don't resync FSMs on non-interesting changes

While processing the session, we used to resync the FSMs when buffer
flags changed. But since BF_KERN_SPLICING and BF_READ_DONTWAIT were
introduced, sometimes we could resync after they were set, which is
not what we want. This was because there were some old checks left
which did not mask changes with BF_MASK_STATIC before checking.
src/proto_uxst.c
src/session.c