[Standards] XEP-0047: IBB

Peter Saint-Andre stpeter at stpeter.im
Sat Feb 13 02:26:45 UTC 2010

A few comments on XEP-0047...

First, it might be useful if the error for "block size too big" provided
more detailed information, because right now the recipient can't tell
the sender what block size would be acceptable (e.g., if the sender
proposes a block size of 4096 and the recipient returns an error, the
initiator might then try a block size of 2048 but the receiver might
still return an error; that seems to require too many round trips). I
propose that we add an application-specific error condition that
specifies the preferred block size:

<iq from='juliet at capulet.com/balcony'
    to='romeo at montague.net/orchard'
  <error type='modify'>
    <resource-constraint xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
    <pref xmlns='http://jabber.org/protocol/ibb'

Second, if the recipient detects an error with a data packet, the spec
says that it SHOULD (not MUST) return an error and is silent about the
number of retries that are appropriate, whether the recipient needs to
close the session at some point, etc. One option would be to say that
the recipient MUST return an error and close the session if it detects a
problem with a data packet. Another would be to more carefully specify
the retry logic. Do folks on this list have a preference?


Peter Saint-Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6820 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20100212/e4724ade/attachment.bin>

More information about the Standards mailing list