Changeset

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
parents 94:941fd7d8b9b2
children 96:c1f4edf3bea7
files mod_proxy65/mod_proxy65.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;