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 | ef888131115082b3a54a568128101cf442475dce (patch) | |
tree | 40285659055840040a39138ee96d79427e9c0b21 /net | |
parent | 73c5470e83551c632206d765ac3094f9598d664b (diff) | |
download | prosody-ef888131115082b3a54a568128101cf442475dce.tar.gz prosody-ef888131115082b3a54a568128101cf442475dce.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 |