projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9e6db
)
net.http.server: Log names of the events fired
author
Kim Alvefur
<zash@zash.se>
Mon, 8 Dec 2014 14:48:36 +0000
(15:48 +0100)
committer
Kim Alvefur
<zash@zash.se>
Mon, 8 Dec 2014 14:48:36 +0000
(15:48 +0100)
net/http/server.lua
patch
|
blob
|
history
diff --git
a/net/http/server.lua
b/net/http/server.lua
index be870c51c91e22762d988e450006a0d6f5bd575e..581630d0cc7b938103ba7808ad36f2efc6374f57 100644
(file)
--- a/
net/http/server.lua
+++ b/
net/http/server.lua
@@
-218,7
+218,7
@@
function handle_request(conn, request, finish_cb)
local event = request.method.." "..host..request.path:match("[^?]*");
local payload = { request = request, response = response };
-
--log("debug", "Firing event: %s
", event);
+
log("debug
", event);
local result = events.fire_event(event, payload);
if result ~= nil then
if result ~= true then