mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 05:57:16 +02:00
Minor tweaks to fix a portal traceback during handshake.
This commit is contained in:
parent
528401ec99
commit
e6e61aa5e6
2 changed files with 2 additions and 2 deletions
|
|
@ -82,5 +82,5 @@ class Mxp(object):
|
|||
|
||||
"""
|
||||
self.protocol.protocol_flags["MXP"] = True
|
||||
self.protocol.handshake_done()
|
||||
self.protocol.requestNegotiation(MXP, '')
|
||||
self.protocol.handshake_done()
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
|
|||
|
||||
# timeout the handshakes in case the client doesn't reply at all
|
||||
from evennia.utils.utils import delay
|
||||
delay(2, callback=self.handshake_done, retval=True)
|
||||
delay(2, callback=self.handshake_done, force=True)
|
||||
|
||||
# TCP/IP keepalive watches for dead links
|
||||
self.transport.setTcpKeepAlive(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue