While testing out Flash Player native ZLIB compression in XIFF, which by its documentation is supposed to be exactly whar the RCF 1950 specifies, came across again this similar exception in Mina that was there two..three years ago.
Could it be possible to enable Openfire to respond to such failure with a stream error stanza?
Currently the client sees nothing.
Below is the related log.
---------
After negotiation of compression, restarting the stream
<?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" to="192.168.1.37" xml:lang="en" version="1.0">
Which in HEX is
78da558e4de82301085afd2ccdea9d544b1a1b0f347a808213a88129692786e38bd68dab97bc7cef a76ed779522f4a3944766070f8ab88f8fc08383fbedbaaba06dea2c89fc6c8ba82dc2d9c1d3771d2 5db4f8158a0b83fc4c128b258ad49464a2b1614631a741322889dbdee580e654a1c1e3f9db6027ff 192686ff53cd1b137037ee
Results in no responce from Openfire 3.7.2 alpha, build in 28 Jul 2012, 7:16:23 AM
http://bamboo.igniterealtime.org/browse/OPENFIRE-NIGHTLYDEB-572/artifact
2012.07.28 23:45:35 org.jivesoftware.openfire.nio.ConnectionHandler - ConnectionHandler reports IOException for session: (SOCKET, R: /192.168.1.77:8154, L: /192.168.1.37:5444, S: /192.168.1.37:5444)
java.io.IOException: Unknown error. Error code : 1
at org.apache.mina.filter.support.Zlib.inflate(Zlib.java:136)
at org.apache.mina.filter.CompressionFilter.messageReceived(CompressionFilter.java :159)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.lang.Thread.run(Thread.java:679)