aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-08-13 10:57:56 +0200
committerTobias Markmann <tm@ayena.de>2009-08-13 10:57:56 +0200
commitde551898223a6026c224898e11e7c02d2e90e198 (patch)
tree8c94506e66df6970bd90fc460606b0195609b4e7
parentda8fb6c3b38d2054dca6fa858ffd4015765fcbc3 (diff)
downloadprosody-de551898223a6026c224898e11e7c02d2e90e198.tar.gz
prosody-de551898223a6026c224898e11e7c02d2e90e198.zip
Add a TODO for s2s compression support.
-rw-r--r--plugins/mod_compression.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua
index 7805cdf9..8c32b14d 100644
--- a/plugins/mod_compression.lua
+++ b/plugins/mod_compression.lua
@@ -17,12 +17,13 @@ local compression_stream_feature = st.stanza("compression", {xmlns=xmlns_compres
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