[FIX] Kill Parsee on unexcepted stream closure

This commit is contained in:
LDA 2024-10-20 12:53:07 +02:00
commit 02a89270c0
6 changed files with 49 additions and 15 deletions

View file

@ -265,8 +265,9 @@ Main(Array *args, HashMap *env)
}
server = HttpServerCreate(&conf);
((ParseeData *) conf.handlerArgs)->server = server;
if (!ParseeInitialiseSignals(server, xmpp_thr, jabber))
if (!ParseeInitialiseSignals(conf.handlerArgs, xmpp_thr))
{
goto end;
}