Updated how the automatic timeout closes the session on the portal side. A lot cleaner now.
This commit is contained in:
parent
895f8504cd
commit
000f14c028
4 changed files with 4 additions and 17 deletions
|
|
@ -122,14 +122,9 @@ class PortalSessionHandler(SessionHandler):
|
|||
from the portal side.
|
||||
"""
|
||||
sessid = session.sessid
|
||||
if sessid in self.sessions:
|
||||
del self.sessions[sessid]
|
||||
del session
|
||||
# tell server to also delete this session
|
||||
self.portal.amp_protocol.call_remote_ServerAdmin(sessid,
|
||||
operation=PDISCONN)
|
||||
|
||||
|
||||
def server_connect(self, protocol_path="", config=dict()):
|
||||
"""
|
||||
Called by server to force the initialization of a new
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue