]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: lua: better fix for the protocol check
authorWilly Tarreau <w@1wt.eu>
Sat, 26 Sep 2015 09:50:08 +0000 (11:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 26 Sep 2015 09:50:08 +0000 (11:50 +0200)
commit9af89f79057084bf8e7f4900333fda187475ca4a
tree952e8ba45fd2c5e144816190b617d782b9990518
parentde70fa17a9bbcb929e244cc6fe1732dcb60ece03
BUG/MEDIUM: lua: better fix for the protocol check

Commit d75cb0f ("BUG/MAJOR: lua: segfault after the channel data is
modified by some Lua action.") introduced a regression causing an
action run from a TCP rule in an HTTP proxy to end in HTTP error
if it terminated cleanly, because it didn't parse the HTTP request!

Relax the test so that it takes into account the opportunity for the
analysers to parse the message.
src/hlua.c