projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
plugins/mod_muc_unique: Fix undefined global access (thanks Lance)
[prosody.git]
/
net
/
http.lua
diff --git
a/net/http.lua
b/net/http.lua
index b87c9396473f2c337dc33cf567ce91b670742a21..35e02fdf7d003f99373d32b8d274ac1ab33d541a 100644
(file)
--- a/
net/http.lua
+++ b/
net/http.lua
@@
-71,6
+71,10
@@
function listener.ondisconnect(conn, err)
requests[conn] = nil;
end
+function listener.ondetach(conn)
+ requests[conn] = nil;
+end
+
local function request_reader(request, data, err)
if not request.parser then
local function error_cb(reason)