]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: lua: don't use si_ic/si_oc on known stream-ints
authorWilly Tarreau <w@1wt.eu>
Fri, 13 Mar 2015 13:19:06 +0000 (14:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Mar 2015 13:19:06 +0000 (14:19 +0100)
commit94aa6170cdc7d73ae1bed5e59776f93427488034
treefd19cbe4526f2706e68201f28a2db143429b7b70
parent3caa0399c878a6d19d86c77d4eaadae25dea0eef
CLEANUP: lua: don't use si_ic/si_oc on known stream-ints

When we explicitly write si[0] or si[1], we know whether we're working
with s->req or s->res, so better use that instead of si_ic/si_oc(), to
make the code simpler and more readable.
src/hlua.c