mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 01:14:38 +00:00
BUG/MINOR: lua: Post init register function are not executed beyond the first one
Just because if the first init is a success we return success in place of continuing the loop. This patch could be backported until 1.8
This commit is contained in:
parent
77a88943d6
commit
13d08b73eb
@ -8128,7 +8128,7 @@ int hlua_post_init()
|
||||
switch (ret) {
|
||||
case HLUA_E_OK:
|
||||
lua_pop(gL.T, -1);
|
||||
return 1;
|
||||
break;
|
||||
case HLUA_E_AGAIN:
|
||||
ha_alert("Lua init: yield not allowed.\n");
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user