[Standards] XEP-0047: IBB

Peter Saint-Andre stpeter at stpeter.im
Sun Feb 28 23:57:28 UTC 2010


On 2/23/10 11:03 AM, Fabio Forno wrote:
> Just got some doubts having several compatibility issues with block
> sizes in different implementations  (lampiro, some bots, pidgin). All
> the specs say about it is this sentence: "The data to be sent, prior
> to any wrapping in the <data/> element and IQ or message stanza, MUST
> NOT be larger than the 'block-size' determined in the bytestream
> negotiation."
> 
> There is no indication whether:
> - the size is the one of the original data or the b64 encode one (for
> implementations it would easier if it were the non-encoded data)

I've always thought that the block-size limit applies to the
base64-encoded data.

> - if each block must be a valid b64 block, i.e. with padding at the
> end (again for implementation it be easier this solution, since we
> don't have to buffer incoming stanzas)

Agreed.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/



-------------- 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/20100228/3ae4f498/attachment.bin>


More information about the Standards mailing list