diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-22 16:54:58 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-22 16:54:58 +0100 |
commit | 16d3a8809791d5f038782617779466cc4f9321ae (patch) | |
tree | 40285659055840040a39138ee96d79427e9c0b21 /net | |
parent | 351865f51098e36eaa5e2de1f2ee603ce00db5e9 (diff) | |
download | prosody-16d3a8809791d5f038782617779466cc4f9321ae.tar.gz prosody-16d3a8809791d5f038782617779466cc4f9321ae.zip |
net.http: Don't call ondisconnect manually, net.server now calls it on close
Diffstat (limited to 'net')
-rw-r--r-- | net/http.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/http.lua b/net/http.lua index f2061e00..02f3a265 100644 --- a/net/http.lua +++ b/net/http.lua @@ -203,7 +203,6 @@ function destroy_request(request) if request.conn then request.conn = nil; request.handler:close() - listener.ondisconnect(request.handler, "closed"); end end |