Crash on Telnet Bridge connecting to Tradewars server #105
This commit is contained in:
parent
3f873f5877
commit
9bb28b36cd
|
@ -142,6 +142,8 @@ const OPTIONS = {
|
||||||
//SSPI_LOGON : 139,
|
//SSPI_LOGON : 139,
|
||||||
//PRAGMA_HEARTBEAT : 140
|
//PRAGMA_HEARTBEAT : 140
|
||||||
|
|
||||||
|
ARE_YOU_THERE : 246, // aka 'AYT' RFC 854 @ https://tools.ietf.org/html/rfc854
|
||||||
|
|
||||||
EXTENDED_OPTIONS_LIST : 255, // RFC 861 (STD 32)
|
EXTENDED_OPTIONS_LIST : 255, // RFC 861 (STD 32)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -192,7 +194,7 @@ OPTION_IMPLS[OPTIONS.TERMINAL_SPEED] =
|
||||||
OPTION_IMPLS[OPTIONS.REMOTE_FLOW_CONTROL] =
|
OPTION_IMPLS[OPTIONS.REMOTE_FLOW_CONTROL] =
|
||||||
OPTION_IMPLS[OPTIONS.X_DISPLAY_LOCATION] =
|
OPTION_IMPLS[OPTIONS.X_DISPLAY_LOCATION] =
|
||||||
OPTION_IMPLS[OPTIONS.SEND_LOCATION] =
|
OPTION_IMPLS[OPTIONS.SEND_LOCATION] =
|
||||||
|
OPTION_IMPLS[OPTIONS.ARE_YOU_THERE] =
|
||||||
OPTION_IMPLS[OPTIONS.SUPPRESS_GO_AHEAD] = function(bufs, i, event) {
|
OPTION_IMPLS[OPTIONS.SUPPRESS_GO_AHEAD] = function(bufs, i, event) {
|
||||||
event.buf = bufs.splice(0, i).toBuffer();
|
event.buf = bufs.splice(0, i).toBuffer();
|
||||||
return event;
|
return event;
|
||||||
|
|
Loading…
Reference in New Issue