Changeset

1674:250bddde4162

Add a TODO for s2s compression support.
author Tobias Markmann <tm@ayena.de>
date Thu, 13 Aug 2009 10:57:56 +0200
parents 1673:5f81cd6d4a92
children 1675:bddd5ef9565e
files plugins/mod_compression.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_compression.lua	Thu Aug 13 10:21:32 2009 +0200
+++ b/plugins/mod_compression.lua	Thu Aug 13 10:57:56 2009 +0200
@@ -17,12 +17,13 @@
 module:add_event_hook("stream-features",
 		function (session, features)
 			if not session.compressed then
-				--FIXME only advertise compression support when TLS layer has no compression enabled
+				-- FIXME only advertise compression support when TLS layer has no compression enabled
 				features:add_child(compression_stream_feature);
 			end
 		end
 );
 
+-- TODO Support compression on S2S level too.
 module:add_handler("c2s_unauthed", "compress", xmlns_compression_protocol,
 		function(session, stanza)
 			-- checking if the compression method is supported