From: William Lallemand Date: Wed, 8 Apr 2026 08:41:54 +0000 (+0200) Subject: Revert "BUG: hlua: fix stack overflow in httpclient headers conversion" X-Git-Tag: v3.4-dev9~134 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=923b4c3a19c69d7d03b3619d4422704344a3bfe0;p=haproxy.git Revert "BUG: hlua: fix stack overflow in httpclient headers conversion" This reverts commit a03120e228abc654d1f0d5bcb0240c6972721735. A WIP version of the patch was applied before the actual patch by accident. The correct patch is 2db801c ("BUG/MINOR: hlua: fix stack overflow in httpclient headers conversion") --- diff --git a/src/hlua.c b/src/hlua.c index 956fd1fc6..c66849c48 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -8074,11 +8074,6 @@ struct http_hdr *hlua_httpclient_table_to_hdrs(lua_State *L) goto skip_headers; } - if (hdr_num >= global.tune.max_http_hdr) { - lua_pop(L, 2); - goto skip_headers; - } - v = lua_tolstring(L, -1, &vlen); value = ist2(v, vlen); name = ist2(n, nlen);