Changeset

6984:0f633160464c

mod_compression: Remove FIXMEs, mod_c2s and mod_s2s checks if TLS compression is used and sets a flag since 969e0a054795
author Kim Alvefur <zash@zash.se>
date Thu, 10 Dec 2015 15:16:49 +0100
parents 6983:05ef46379165
children 6985:a2e1f5ebdb53
files plugins/mod_compression.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_compression.lua	Wed Dec 09 16:33:43 2015 +0100
+++ b/plugins/mod_compression.lua	Thu Dec 10 15:16:49 2015 +0100
@@ -27,14 +27,12 @@
 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