mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:05:11 +00:00
[ADD/WIP] Matrix<->XMPP DMs.
There is still this fun issue with the blocking XML parser leaking memory on pthread_cancel, I'll try to deal with that later, maybe with a test stanza. I also apologise for swearing in the last commit. I promise it won't happen again, Prosody.
This commit is contained in:
parent
bdb4fd2f68
commit
2cc4b0ed17
11 changed files with 325 additions and 63 deletions
|
|
@ -13,11 +13,9 @@ RouteHead(RouteTxns, arr, argp)
|
|||
Array *events;
|
||||
size_t i;
|
||||
|
||||
Log(LOG_INFO, "Caught one!");
|
||||
response = ASVerifyRequest(args);
|
||||
if (response)
|
||||
{
|
||||
Log(LOG_INFO, ":(");
|
||||
goto end;
|
||||
}
|
||||
if (HttpRequestMethodGet(args->ctx) != HTTP_PUT)
|
||||
|
|
@ -30,7 +28,6 @@ RouteHead(RouteTxns, arr, argp)
|
|||
goto end;
|
||||
}
|
||||
|
||||
Log(LOG_INFO, "Caught a decent one!");
|
||||
RequestJSON();
|
||||
|
||||
/* TODO: Do a thing with these. */
|
||||
|
|
@ -44,7 +41,6 @@ RouteHead(RouteTxns, arr, argp)
|
|||
/* TODO: Store TXN ID somewhere so that we can commit
|
||||
* "Epic Matrix Idempotency" */
|
||||
|
||||
Log(LOG_INFO, "OK!");
|
||||
response = HashMapCreate();
|
||||
end:
|
||||
JsonFree(request);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue