[JDEV] Maximum length jabber message

Alexey Nezhdanov snake at penza-gsm.ru
Wed Dec 3 23:04:14 CST 2003


> Is there a maximum length for a jabber element?  I'm stuffing a bunch of
> info into a single IQ packet.  Not sure if its slow because of illegal
> characters or line length.  Anybody know what the recommended size for
> an entire jabber packet is?  Anybody know what characters are illegal?

http://www.jabber.org/ietf/draft-ietf-xmpp-core-20.html
3. Addressing Scheme
3.1 Overview
...
Each allowable portion of a JID (node identifier, domain identifier, and 
resource identifier) MUST NOT be more than 1023 bytes in length, resulting in 
a maximum total size (including the '@' and '/' separators) of 3071 bytes.
...

AFAIK message length are not determined and any UTF-8 symbol is legal.

-- 
Respectively
Alexey "Snake" Nezhdanov






More information about the JDev mailing list