Changeset

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
parents 4962:1d8fb12a9b2d
children 4964:c9b8ec3eb1e9
files net/http.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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