News for hackers. Stuff that matters.
Re:France Enters the Matrix by edhelas on Friday February 22, 2019 @05:33PM (#19229766)
Any XML parser that I know can parse XML in a stream, that's all you need to handle an incoming XMPP stream.

Just an example, here is the XML parser that I wrote in PHP https://github.com/movim/movim/blob/master/lib/moxl/src/Moxl... (127 lines), it basically handle the stream as an input and fire SimpleXML (can also be DOM XML) on the other hand.

This can handle thousands of XMPP messages (called stanza) per second :)

Re:France Enters the Matrix by forty on Saturday February 23, 2019 @04:09AM (#19232465)
Can it handle plaintext XML suddenly becoming TLS encrypted? Because that's also what happens on any XMPP connection. If it can, then great but I guess it's more an exception than the rule