]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: httpclient/lua: infinite appctx loop with POST
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 2 Mar 2022 15:18:26 +0000 (16:18 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 2 Mar 2022 15:32:47 +0000 (16:32 +0100)
commit10a37360c8c5dfc4a65aba81f67ae63fe5fa2161
tree62d89cb11a940c06f1b69b23e38d525532cfec31
parent06e66c84fcff0e4ab31a0b0f35f7a3ac63b9c29c
BUG/MEDIUM: httpclient/lua: infinite appctx loop with POST

When POSTing a request with a payload, and reusing the same httpclient
lua instance, one could encounter a spinning of the httpclient appctx.

Indeed the sent counter is not reset between 2 POSTs and the condition
for sending the EOM flag is never met.

Must fixed issue #1593.

To be backported in 2.5.
src/hlua.c