Software /
code /
prosody
Changeset
720:8f22e9fb2291
net.http: Don't log content from server
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 15 Jan 2009 04:10:06 +0000 |
parents | 719:b1eb112478b8 |
children | 721:51233a8ae3d4 |
files | net/http.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/http.lua Thu Jan 15 04:08:06 2009 +0000 +++ b/net/http.lua Thu Jan 15 04:10:06 2009 +0000 @@ -170,7 +170,7 @@ req.write(body); end - req.callback = function (content, code, request) log("debug", "Calling callback, code %s content: %s", code or "---", content or "---"); return select(2, xpcall(function () return callback(content, code, request) end, handleerr)); end + req.callback = function (content, code, request) log("debug", "Calling callback, status %s", code or "---"); return select(2, xpcall(function () return callback(content, code, request) end, handleerr)); end req.reader = request_reader; req.state = "status";