[jdev] Jabberd2, Flash Client and terminator character...

Matthias Wimmer m at tthias.net
Sun Apr 11 18:05:07 CDT 2004


Hi Justin!

Justin Karneges schrieb am 2004-04-11 15:38:58:
> > Or is terminating the Stanza by a backslash is just a hack and clearly
> > not allowed by the protocol.
> What do you mean by this?  Self-closing tags are allowed, which is done with a 
> forward-slash (like "<message/>"), but maybe this is not what you are talking 
> about.

Maybe he thinks about the <flash:stream/> element ...

The flash hack in jabberd14/jadc2s is:
- The client is allowed to immediatelly close the <flash:stream/>
  element (which replaces the
  <stream:stream>...stanzas...</stream:stream> element).
- Zero bytes in the incoming stream on the server are ignored.
- The server terminates every stanza it sents using a zero byte.

And yes ... this is completly against the XMPP spec.


Tot kijk
    Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://www.jabber.org/jdev/attachments/20040412/d3a26d36/attachment-0002.pgp>


More information about the JDev mailing list