Diff

net/httpclient_listener.lua @ 737:ade262a8da7f

net.http: Remove request from conn->request table when conn closed
author Matthew Wild <mwild1@gmail.com>
date Fri, 16 Jan 2009 23:33:19 +0000
parent 616:69bc5782b25e
child 1227:6a587ca99109
line wrap: on
line diff
--- a/net/httpclient_listener.lua	Fri Jan 16 05:43:45 2009 +0000
+++ b/net/httpclient_listener.lua	Fri Jan 16 23:33:19 2009 +0000
@@ -25,7 +25,7 @@
 	if request then
 		request:reader(nil);
 	end
-	--requests[conn] = nil;
+	requests[conn] = nil;
 end
 
 function httpclient.register_request(conn, req)