aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-18 01:25:50 +0000
committerMatthew Wild <mwild1@gmail.com>2010-03-18 01:25:50 +0000
commit2283fae9c1b85932f6386e8eb421a3c6a319aa84 (patch)
treeef724f4fc6be2eba70b44822e2e82c620583b8ca /plugins
parent48e4e284e95e0d8ea1d65357b3aef3740ee9a4d8 (diff)
parent4528953bcd7937bdd9d46c9cd07b6c0cbae94244 (diff)
downloadprosody-2283fae9c1b85932f6386e8eb421a3c6a319aa84.tar.gz
prosody-2283fae9c1b85932f6386e8eb421a3c6a319aa84.zip
Merge 0.6->0.7
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 3ef5a1f3..c2e84f2b 100644
--- a/plugins/mod_compression.lua
+++ b/plugins/mod_compression.lua
@@ -170,7 +170,7 @@ module:add_handler({"c2s_unauthed", "c2s", "s2sin_unauthed", "s2sin"}, "compress
if session.compressed then
local error_st = st.stanza("failure", {xmlns=xmlns_compression_protocol}):tag("setup-failed");
(session.sends2s or 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
@@ -178,7 +178,7 @@ module:add_handler({"c2s_unauthed", "c2s", "s2sin_unauthed", "s2sin"}, "compress
local method = stanza:child_with_name("method");
method = method and (method[1] or "");
if method == "zlib" then
- session.log("debug", "%s compression selected.", tostring(method));
+ session.log("debug", "zlib compression enabled.");
-- create deflate and inflate streams
local deflate_stream = get_deflate_stream(session);
@@ -204,7 +204,7 @@ module:add_handler({"c2s_unauthed", "c2s", "s2sin_unauthed", "s2sin"}, "compress
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.sends2s or session.send)(error_st);
else