modules/{http,watchdog}: fix stability problems
Files
2+ 11
− 2
@@ -808,7 +808,11 @@ static void xdp_rx(uv_poll_t* handle, int status, int events)
@@ -880,7 +884,12 @@ int io_listen_xdp(uv_loop_t *loop, struct endpoint *ep, const char *ifname)
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
As first noted in commit d1a229ae, in some cases we do call chains that are not supported for JIT in LuaJIT.
I'm not 100% sure all of these are needed to comply, but the functions here are really small and probably not to be that heavily used, so I don't think it will be costly to interpret them (and avoiding crashes is more important).
In my tests this fixed occasional crashes when using http://*/trace/*