mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
Revert "BUG: hlua: fix stack overflow in httpclient headers conversion"
This reverts commita03120e228. A WIP version of the patch was applied before the actual patch by accident. The correct patch is2db801c("BUG/MINOR: hlua: fix stack overflow in httpclient headers conversion")
This commit is contained in:
parent
4111cf3e0e
commit
923b4c3a19
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue