# HG changeset patch # User Matthew Wild # Date 1342972498 -3600 # Node ID 54e2c83af127fff417c503e8932b178f4d1c93b7 # Parent 1d8fb12a9b2db78b2cd336b4cbc8d335a8d45c38 net.http: Don't call ondisconnect manually, net.server now calls it on close diff -r 1d8fb12a9b2d -r 54e2c83af127 net/http.lua --- 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