From 923b4c3a19c69d7d03b3619d4422704344a3bfe0 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Wed, 8 Apr 2026 10:41:54 +0200 Subject: [PATCH] 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") --- src/hlua.c | 5 ----- 1 file changed, 5 deletions(-) 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); -- 2.47.3