]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hlua: Remove useless test on TX_CON_WANT_* flags
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Jul 2019 12:28:23 +0000 (14:28 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Jul 2019 07:24:12 +0000 (09:24 +0200)
commit67bb3bb0c25aacd1040871fe5415ee68e1f00113
tree141e049bf4b6c513446d2a0f55e98392bdf5d047
parent711ed6ae4a77197f0d9b375d06ad158c063ff643
MINOR: hlua: Remove useless test on TX_CON_WANT_* flags

When an HTTP applet is initialized, it is useless to force server-close mode on
the HTTP transaction because the connection mode is now handled by muxes. In
HTX, during analysis, the flag TX_CON_WANT_CLO is set by default in
htx_wait_for_request(), and TX_CON_WANT_SCL is never tested anywere.
src/hlua.c