aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-08-11 19:40:38 +0100
committerMatthew Wild <mwild1@gmail.com>2009-08-11 19:40:38 +0100
commitfcfb1213d2cbc6b880bfd4e5475e5494e3af792a (patch)
tree5e15844b4b6679be793b21238902381b6f8f2aff /net
parente58d6d5d62912ca78c22ea134bc9a4dff30e9b42 (diff)
downloadprosody-fcfb1213d2cbc6b880bfd4e5475e5494e3af792a.tar.gz
prosody-fcfb1213d2cbc6b880bfd4e5475e5494e3af792a.zip
net.httpserver: Don't log response bodies!
Diffstat (limited to 'net')
-rw-r--r--net/httpserver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/httpserver.lua b/net/httpserver.lua
index 57c8eede..77590519 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -61,7 +61,7 @@ local function send_response(request, response)
end
else
-- Response we have is just a string (the body)
- log("debug", "Sending response to %s: %s", request.id or "<none>", response or "<none>");
+ log("debug", "Sending 200 response to %s", request.id or "<none>");
resp = { "HTTP/1.0 200 OK\r\n" };
t_insert(resp, "Connection: close\r\n");