From 16d3a8809791d5f038782617779466cc4f9321ae Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 22 Jul 2012 16:54:58 +0100 Subject: net.http: Don't call ondisconnect manually, net.server now calls it on close --- net/http.lua | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.2.3