Diff

net/http.lua @ 4963:54e2c83af127

net.http: Don't call ondisconnect manually, net.server now calls it on close
author Matthew Wild <mwild1@gmail.com>
date Sun, 22 Jul 2012 16:54:58 +0100
parent 4865:9171dc2357e0
child 4977:7006ccbf22a9
line wrap: on
line diff
--- a/net/http.lua	Sun Jul 22 16:54:33 2012 +0100
+++ b/net/http.lua	Sun Jul 22 16:54:58 2012 +0100
@@ -203,7 +203,6 @@
 	if request.conn then
 		request.conn = nil;
 		request.handler:close()
-		listener.ondisconnect(request.handler, "closed");
 	end
 end