Commit 9d7d7b97 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Compression was re-enabled. Change in order of filters seems to have fixed it.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7549 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5004600c
...@@ -671,12 +671,11 @@ public class ClientSession extends Session { ...@@ -671,12 +671,11 @@ public class ClientSession extends Session {
StringBuilder sb = new StringBuilder(200); StringBuilder sb = new StringBuilder(200);
// Include Stream Compression Mechanism // Include Stream Compression Mechanism
// TODO Fix stream compression when using MINA and then enable this code if (conn.getCompressionPolicy() != Connection.CompressionPolicy.disabled &&
/*if (conn.getCompressionPolicy() != Connection.CompressionPolicy.disabled &&
!conn.isCompressed()) { !conn.isCompressed()) {
sb.append( sb.append(
"<compression xmlns=\"http://jabber.org/features/compress\"><method>zlib</method></compression>"); "<compression xmlns=\"http://jabber.org/features/compress\"><method>zlib</method></compression>");
}*/ }
if (getAuthToken() == null) { if (getAuthToken() == null) {
// Advertise that the server supports Non-SASL Authentication // Advertise that the server supports Non-SASL Authentication
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment