# HG changeset patch # User Matthew Wild # Date 1258809346 0 # Node ID 752182f12c35f959a88cb0751bcea06ef926c86d # Parent 1fc95582d74b59d04f0c22f0b7fbec6f7316de4f mod_bosh: Don't log response XML diff -r 1fc95582d74b -r 752182f12c35 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Thu Feb 25 17:54:23 2010 +0000 +++ b/plugins/mod_bosh.lua Sat Nov 21 13:15:46 2009 +0000 @@ -152,7 +152,7 @@ local r, send_buffer = session.requests, session.send_buffer; local response = { headers = default_headers } function session.send(s) - log("debug", "Sending BOSH data: %s", tostring(s)); + --log("debug", "Sending BOSH data: %s", tostring(s)); local oldest_request = r[1]; while oldest_request and oldest_request.destroyed do t_remove(r, 1); @@ -160,7 +160,7 @@ oldest_request = r[1]; end if oldest_request then - log("debug", "We have an open request, so using that to send with"); + log("debug", "We have an open request, so sending on that"); response.body = t_concat{"", tostring(s), "" }; oldest_request:send(response); --log("debug", "Sent");