Revert "BUG: hlua: fix stack overflow in httpclient headers conversion"

This reverts commit a03120e228.

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")
This commit is contained in:
William Lallemand 2026-04-08 10:41:54 +02:00
parent 4111cf3e0e
commit 923b4c3a19

View file

@ -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);