]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: lua: direction test failed
authorThierry FOURNIER <tfournier@arpalert.org>
Tue, 13 Oct 2015 12:25:11 +0000 (14:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Oct 2015 13:49:31 +0000 (15:49 +0200)
commit26a7aacaff18aa72e7fb340dfd533b17a3e8d0ad
tree88e0df2c6fa2a5f539ac7c3a44963392b1166aef
parent5a549219024247b049c6979daf475d0c8897c72e
BUG/MEDIUM: lua: direction test failed

Lua needs to known the direction of the http data processed (request or
response). It checks the flag SMP_OPT_DIR_REQ, buf this flag is 0. This patch
correctly checks the flags after applying the SMP_OPT_DIR mask.
src/hlua.c