mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-08 16:23:24 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue