Sun, 14 Mar 2010 02:56:57 +0000
s2smanager: Add open_stream and close methods to resting sessions
core/s2smanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/s2smanager.lua Thu Mar 11 01:04:19 2010 +0000 +++ b/core/s2smanager.lua Sun Mar 14 02:56:57 2010 +0000 @@ -511,6 +511,12 @@ local resting_session = { -- Resting, not dead destroyed = true; + open_stream = function (session) + session.log("debug", "Attempt to open stream on resting session"); + end; + close = function (session) + session.log("debug", "Attempt to close already-closed session"); + end; }; resting_session.__index = resting_session; function retire_session(session)