]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: lua: Do not force the HTTP analysers in use-services
authorThierry FOURNIER <tfournier@arpalert.org>
Sun, 20 Dec 2015 18:14:35 +0000 (19:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 20 Dec 2015 22:13:01 +0000 (23:13 +0100)
commit52e260618881094aae4ffa5cdc8ab33db3faa780
tree3b062e46f80da549c6a66b80fe02a1266d7d98b5
parent718e2a73a2f919f921b0dc4b0e46727718256831
BUG/MAJOR: lua: Do not force the HTTP analysers in use-services

INNER and XFERBODY analyzer were set in order to support HTTP applets
from TCP rulesets, but this does not work (cf previous patch).

Other cases already provides theses analyzers, so their addition is
not needed. Furthermore if INNER was set it could cause some headers
to be rewritten (ex: connection) after headers were already forwarded,
resulting in a crash in buffer_insert_line2().

Special thanks to Bernd Helm for providing very detailed information,
captures and stack traces making it possible to spot the root cause
here.

This fix must be backported to 1.6.
src/hlua.c