Comparison

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
comparison
equal deleted inserted replaced
94:941fd7d8b9b2 95:e704834c5613
102 if initiator == conn and target ~= nil then 102 if initiator == conn and target ~= nil then
103 target.close(); 103 target.close();
104 elseif target == conn and initiator ~= nil then 104 elseif target == conn and initiator ~= nil then
105 initiator.close(); 105 initiator.close();
106 end 106 end
107 transfers[session.sha] = nil;
107 end 108 end
108 -- Clean up any session-related stuff here 109 -- Clean up any session-related stuff here
109 sessions[conn] = nil; 110 sessions[conn] = nil;
110 end 111 end
111 end 112 end