This commit is contained in:
parent
993113b2b7
commit
005b3f4530
13 changed files with 114 additions and 64 deletions
|
|
@ -90,8 +90,11 @@ class PortalSessionHandler(SessionHandler):
|
|||
|
||||
if session:
|
||||
# assign if we are first-connectors
|
||||
self.latest_sessid += 1
|
||||
session.sessid = self.latest_sessid
|
||||
if not session.sessid:
|
||||
# if the session already has a sessid (e.g. being inherited in the
|
||||
# case of a webclient auto-reconnect), keep it
|
||||
self.latest_sessid += 1
|
||||
session.sessid = self.latest_sessid
|
||||
session.server_connected = False
|
||||
_CONNECTION_QUEUE.appendleft(session)
|
||||
if len(_CONNECTION_QUEUE) > 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue