Feature request: Stream Compression

http://xmpp.org/extensions/xep-0138.html

Zlib is used in ByteArray too so this should be somewhat possible.

Perhaps XMPPConnection.compress:Boolean = false; as a default.

Created issue for this: http://www.igniterealtime.org/issues/browse/XIFF-53

Please comment.

We have this working in XIFF 3.0.0 against Openfire 3.6.4 with minimal changes to XIFF (except we have to use as3zlib). We did not need to modify Openfire at all. Please contact me so we can talk about how to get our working solution into trunk.

Can you please provide a patch against trunk of your changes?

It might be a little more complicated than that, though I will talk to a colleague of mine who has committer access to see if he can suggest something. The reason it’s not so simple is because although within XIFF only 1 class has changed and 1 added, there’s a whole new dependency (as3zlib) and I think we need to get it right.

Will get back to you later today hopefully with a plan!

Hi Juga, I have sent a link to you as a private message with this work as a patch (I sit next to Mani). You’ll need to include as3zlib as well to get this working.

Hope that helps

Michael

PS the version of AS3ZLib we use is the only download at http://code.google.com/p/as3zlib/downloads/list