aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-12-01 20:59:42 +0100
committerTobias Markmann <tm@ayena.de>2009-12-01 20:59:42 +0100
commit62ab9da69a6a86f1de31b589dbaa6c7bf97730b7 (patch)
tree7fa57dd6bb0caf87aeb1c568fcb78751da1da036
parent15cd68bc0e1cce48ccb871a032fafb585b7631d0 (diff)
downloadprosody-62ab9da69a6a86f1de31b589dbaa6c7bf97730b7.tar.gz
prosody-62ab9da69a6a86f1de31b589dbaa6c7bf97730b7.zip
mod_compression: Some comment clean up.
-rw-r--r--plugins/mod_compression.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua
index 802e1822..15a10059 100644
--- a/plugins/mod_compression.lua
+++ b/plugins/mod_compression.lua
@@ -44,7 +44,7 @@ module:hook("s2s-stream-features",
end
);
--- S2Sout handling aka the client perspective in the S2S connection
+-- Hook to activate compression if remote server supports it.
module:hook_stanza(xmlns_stream, "features",
function (session, stanza)
if not session.compressed then
@@ -135,7 +135,6 @@ local function setup_decompression(session, inflate_stream)
end;
end
--- TODO Support compression on S2S level too.
module:add_handler({"s2sout_unauthed", "s2sout"}, "compressed", xmlns_compression_protocol,
function(session ,stanza)
session.log("debug", "Activating compression...")