commit | 01e2be84d746c5203f7c5723bb6ca9e469026c3d | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Fri Jan 14 17:59:01 2022 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Fri Jan 14 20:51:31 2022 +0100 |
tree | 653ef3ccbfc243c671e5cf5ddeb38aed3870b678 | |
parent | bad9c8cac411f11144236abe8f9342f1058c9344 [diff] |
BUG/MINOR: httpclient/lua: don't pop the lua stack when getting headers hlua_httpclient_table_to_hdrs() does a lua_pop(L, 1) at the end of the function, this is supposed to be done in the caller and it is already be done in hlua_httpclient_send(). This call has the consequence of poping the next parameter of the httpclient, ignoring it. This patch fixes the issue by removing the lua_pop(L, 1). Must be backported in 2.5.