Software /
code /
prosody
Diff
net/http/server.lua @ 6589:015f2b4e2f9a
net.http.server: Log event name when firing a request event
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 14 Mar 2015 22:39:03 +0000 |
parent | 6380:4220ffb87b22 |
child | 6602:61b6a4fc65f1 |
child | 6604:478308ee29dd |
child | 6607:64e6b88b6b21 |
child | 7579:d430573fe9f8 |
line wrap: on
line diff
--- a/net/http/server.lua Tue Feb 24 15:19:20 2015 +0000 +++ b/net/http/server.lua Sat Mar 14 22:39:03 2015 +0000 @@ -217,7 +217,7 @@ local event = request.method.." "..host..request.path:match("[^?]*"); local payload = { request = request, response = response }; - --log("debug", "Firing event: %s", event); + log("debug", "Firing event: %s", event); local result = events.fire_event(event, payload); if result ~= nil then if result ~= true then