Fixes a side effect of the #583 solution only showing up in certain connection timing combinations related to which protocols were supported in a given client. The portal<->server handhshake exchanged the session info an extra round depending on the internal timing of the connection. Also fixed a handshake bug in the MXP initialization.
This commit is contained in:
parent
a5b4ddd1e9
commit
3eb347a076
4 changed files with 6 additions and 4 deletions
|
|
@ -64,10 +64,11 @@ class PortalSessionHandler(SessionHandler):
|
|||
# only use if session already has sessid (i.e. has already connected)
|
||||
sessdata = session.get_sync_data()
|
||||
if self.portal.amp_protocol:
|
||||
# we remove sessdata that could already have changed on the
|
||||
# server level
|
||||
# we only send sessdata that should not have changed
|
||||
# at the server level at this point
|
||||
sessdata = dict((key, val) for key, val in sessdata.items() if key in ("protocol_key",
|
||||
"address",
|
||||
"sessid",
|
||||
"suid",
|
||||
"conn_time",
|
||||
"protocol_flags",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue