From 9d6bf77f787ed6bb00d723489af338b92b69f2c8 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Thu, 18 Oct 2012 16:00:58 +0100 Subject: Enable compression now that zlib works Change-Id: Iab58df1cf6a3b8b9461b71fd3f27476214e07286 diff --git a/src/com/isode/stroke/client/ClientSession.java b/src/com/isode/stroke/client/ClientSession.java index b0afb7b..a00ed67 100644 --- a/src/com/isode/stroke/client/ClientSession.java +++ b/src/com/isode/stroke/client/ClientSession.java @@ -306,7 +306,7 @@ public class ClientSession { else if (UseTLS.RequireTLS.equals(useTLS) && !stream.isTLSEncrypted()) { finishSession(Error.Type.NoSupportedAuthMechanismsError); } - else if (false && useStreamCompression && streamFeatures.hasCompressionMethod("zlib")) { /*FIXME: test and enable!*/ + else if (useStreamCompression && streamFeatures.hasCompressionMethod("zlib")) { state = State.Compressing; stream.writeElement(new CompressRequest("zlib")); } -- cgit v0.10.2-6-g49f6