Correctly updated handshake countdown in telnet.
This commit is contained in:
parent
63a2d84a8f
commit
5f4e2065de
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
|
||||||
client_address = self.transport.client
|
client_address = self.transport.client
|
||||||
# this number is counted down for every handshake that completes.
|
# this number is counted down for every handshake that completes.
|
||||||
# when it reaches 0 the portal/server syncs their data
|
# when it reaches 0 the portal/server syncs their data
|
||||||
self.handshakes = 5 # naws, ttype, mccp, mssp, msdp
|
self.handshakes = 6 # naws, ttype, mccp, mssp, msdp, mxp
|
||||||
self.init_session("telnet", client_address, self.factory.sessionhandler)
|
self.init_session("telnet", client_address, self.factory.sessionhandler)
|
||||||
|
|
||||||
# negotiate client size
|
# negotiate client size
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue