[MOD/WIP] Kill off the stanza sending function

The stanza sender is dead. All hail the Stanza Builder.
This commit is contained in:
LDA 2024-08-13 20:24:32 +02:00
commit ffc0679493
8 changed files with 379 additions and 184 deletions

View file

@ -12,12 +12,8 @@
#include <signal.h>
#include <stdlib.h>
#include <StringStream.h>
#include <Parsee.h>
#include <XEP393.h>
#include <XMPP.h>
#include <Glob.h>
#include <XML.h>
#include <AS.h>
static HttpServer *server = NULL;
@ -107,7 +103,7 @@ Main(Array *args, HashMap *env)
conf.port = parsee_conf->port;
conf.threads = parsee_conf->http_threads;
conf.maxConnections = 32; /* TODO */
conf.maxConnections = conf.threads << 2;
conf.handlerArgs = ParseeInitData(jabber);
conf.handler = ParseeRequest;