From 2f5368193dd206e1a8734373e9251569bc24ae40 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 10 Dec 2015 15:16:49 +0100 Subject: mod_compression: Remove FIXMEs, mod_c2s and mod_s2s checks if TLS compression is used and sets a flag since 969e0a054795 --- plugins/mod_compression.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/mod_compression.lua') diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua index da55e5bb..d49e3880 100644 --- a/plugins/mod_compression.lua +++ b/plugins/mod_compression.lua @@ -27,14 +27,12 @@ end module:hook("stream-features", function(event) local origin, features = event.origin, event.features; if not origin.compressed and origin.type == "c2s" then - -- FIXME only advertise compression support when TLS layer has no compression enabled features:add_child(compression_stream_feature); end end); module:hook("s2s-stream-features", function(event) local origin, features = event.origin, event.features; - -- FIXME only advertise compression support when TLS layer has no compression enabled if not origin.compressed and origin.type == "s2sin" then features:add_child(compression_stream_feature); end -- cgit v1.2.3