Commit 6215c356 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Offer stream compression as an optional feature. JM-781

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4522 b35dd754-fafc-0310-a699-88a17e54d16e
parent 386a6661
......@@ -124,7 +124,7 @@ public class ClientSession extends Session {
// Set the Compression policy stored as a system property
policyName = JiveGlobals.getProperty("xmpp.client.compression.policy",
Connection.CompressionPolicy.disabled.toString());
Connection.CompressionPolicy.optional.toString());
compressionPolicy = Connection.CompressionPolicy.valueOf(policyName);
// Set the default read idle timeout. If none was set then assume 30 minutes
......
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