mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
[MOD/WIP] Kill off the stanza sending function
The stanza sender is dead. All hail the Stanza Builder.
This commit is contained in:
parent
f6b0d741d5
commit
ffc0679493
8 changed files with 379 additions and 184 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue