aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-18 01:16:39 +0000
committerMatthew Wild <mwild1@gmail.com>2010-03-18 01:16:39 +0000
commit4528953bcd7937bdd9d46c9cd07b6c0cbae94244 (patch)
treef011981c3a1c4e5791ad53acb67c1545c6bdef7d /plugins
parentfb803e14088f1fae972d0f6d15d051b5a375be6e (diff)
parent2980a625eab621f842456e06f660528f6fd61523 (diff)
downloadprosody-4528953bcd7937bdd9d46c9cd07b6c0cbae94244.tar.gz
prosody-4528953bcd7937bdd9d46c9cd07b6c0cbae94244.zip
Merge 0.6 with waqas
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_compression.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua
index 87ff6be7..fe1e0c67 100644
--- a/plugins/mod_compression.lua
+++ b/plugins/mod_compression.lua
@@ -42,7 +42,7 @@ module:add_handler({"c2s_unauthed", "c2s"}, "compress", xmlns_compression_protoc
if session.compressed then
local error_st = st.stanza("failure", {xmlns=xmlns_compression_protocol}):tag("setup-failed");
session.send(error_st);
- session.log("warn", "Tried to establish another compression layer.");
+ session.log("debug", "Client tried to establish another compression layer.");
return;
end
@@ -69,7 +69,7 @@ module:add_handler({"c2s_unauthed", "c2s"}, "compress", xmlns_compression_protoc
return
end
- session.log("info", method.." compression selected.");
+ session.log("debug", "zlib compression enabled.");
session.send(st.stanza("compressed", {xmlns=xmlns_compression_protocol}));
session:reset_stream();
@@ -117,7 +117,7 @@ module:add_handler({"c2s_unauthed", "c2s"}, "compress", xmlns_compression_protoc
end;
session.compressed = true;
elseif method then
- session.log("info", "%s compression selected, but we don't support it.", tostring(method));
+ session.log("debug", "%s compression selected, but we don't support it.", tostring(method));
local error_st = st.stanza("failure", {xmlns=xmlns_compression_protocol}):tag("unsupported-method");
session.send(error_st);
else