diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-10-18 15:00:58 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-10-18 15:00:58 (GMT) |
commit | 9d6bf77f787ed6bb00d723489af338b92b69f2c8 (patch) | |
tree | 93493bca3c0b36e2d7bad9e134f8db0159eac31b /src/com | |
parent | ac146b27cd98feb0b5f7b43e0ba29cbb07ba9d60 (diff) | |
download | stroke-9d6bf77f787ed6bb00d723489af338b92b69f2c8.zip stroke-9d6bf77f787ed6bb00d723489af338b92b69f2c8.tar.bz2 |
Enable compression now that zlib works
Change-Id: Iab58df1cf6a3b8b9461b71fd3f27476214e07286
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/isode/stroke/client/ClientSession.java | 2 |
1 files changed, 1 insertions, 1 deletions
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")); } |