projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
4f2be66
)
Merge 0.8->trunk
author
Matthew Wild
<mwild1@gmail.com>
Sun, 13 Feb 2011 22:59:27 +0000
(22:59 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 13 Feb 2011 22:59:27 +0000
(22:59 +0000)
net/httpserver.lua
patch
|
blob
|
history
diff --git
a/net/httpserver.lua
b/net/httpserver.lua
index d401f47c6552e8c7f4855eea084433ee31f0b4bb..33ced072c4e5d8e399fa8245e9996048df147f4b 100644
(file)
--- a/
net/httpserver.lua
+++ b/
net/httpserver.lua
@@
-122,6
+122,7
@@
local function request_reader(request, data, startpos)
call_callback(request);
end
local function error_cb(r)
+ log("error", "Error in HTTP server handler: %s", r or "connection-closed");
call_callback(request, r or "connection-closed");
destroy_request(request);
end