mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-08 06:17:26 +00:00
BUG/MINOR: httpclient/lua: missing pop for new timeout parameter
The lua timeout server lacks a lua_pop(), breaking the lua stack. No backported needed.
This commit is contained in:
parent
b4a4ef6a29
commit
ab90ee80d9
@ -7251,6 +7251,7 @@ __LJMP static int hlua_httpclient_send(lua_State *L, enum http_meth_t meth)
|
||||
timeout = lua_tointeger(L, -1);
|
||||
httpclient_set_timeout(hlua_hc->hc, timeout);
|
||||
}
|
||||
lua_pop(L, 1);
|
||||
|
||||
ret = lua_getfield(L, -1, "headers");
|
||||
if (ret == LUA_TTABLE) {
|
||||
|
Loading…
Reference in New Issue
Block a user