Diff

mod_proxy65/mod_proxy65.lua @ 95:e704834c5613

mod_proxy65: hopefully remove a memory leak (thx waqas!)
author Thilo Cestonaro <thilo@cestona.ro>
date Tue, 17 Nov 2009 21:20:41 +0100
parent 83:9d92db30235f
child 98:a54cc7bca826
line wrap: on
line diff
--- a/mod_proxy65/mod_proxy65.lua	Tue Nov 17 21:19:17 2009 +0100
+++ b/mod_proxy65/mod_proxy65.lua	Tue Nov 17 21:20:41 2009 +0100
@@ -104,6 +104,7 @@
 			elseif target == conn and initiator ~= nil then
 			 	initiator.close();
 			end
+			transfers[session.sha] = nil;
 		end
 		-- Clean up any session-related stuff here
 		sessions[conn] = nil;