# HG changeset patch # User Matthew Wild # Date 1268535417 0 # Node ID 85a242cd1bc451fd1b37935340f61cedcb4d7bbd # Parent 1681048950513004ca6d76a18d31751326a90492 s2smanager: Add open_stream and close methods to resting sessions diff -r 168104895051 -r 85a242cd1bc4 core/s2smanager.lua --- 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)