0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Prince J Wesley a634554fca
readline: key interval delay for \r & \n
Emit two line events when there is a delay between
CR('\r') and LF('\n').

Introduced a new option `crlfDelay`. If the delay between \r and \n
exceeds `crlfDelay` milliseconds, both \r and \n will be treated as
separate end-of-line input. Default to 100 milliseconds.
`crlfDelay` will be coerced to [100, 2000] range.

PR-URL: https://github.com/nodejs/node/pull/8109
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
2016-09-08 20:16:39 +05:30
..
internal internal/util: remove printDeprecationWarning 2016-09-02 13:15:56 -07:00
_debug_agent.js debugger: use arrow function for lexical this 2016-08-18 16:44:38 -07:00
_debugger.js debugger: remove obsolete setTimeout 2016-06-07 13:32:05 -07:00
_http_agent.js tls,https: respect address family when connecting 2016-05-28 22:49:36 +02:00
_http_client.js http: wait for both prefinish/end to keepalive 2016-06-06 13:34:11 -04:00
_http_common.js http: fix connection upgrade checks 2016-08-26 10:17:34 -04:00
_http_incoming.js http: fix no dumping after maybeReadMore 2016-06-15 12:50:19 -04:00
_http_outgoing.js http: fix connection upgrade checks 2016-08-26 10:17:34 -04:00
_http_server.js tools: lint for object literal spacing 2016-05-08 22:45:20 -07:00
_linklist.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js stream: avoid caching prepend check 2016-08-17 18:47:41 -07:00
_stream_transform.js stream: 'data' argument on callback of Transform._flush() 2016-06-09 11:06:01 +02:00
_stream_wrap.js stream_wrap: error if stream has StringDecoder 2015-12-06 21:55:25 -05:00
_stream_writable.js stream: improve unimplemented _write() error 2016-07-21 11:24:26 -04:00
_tls_common.js src: refactor require('constants') 2016-05-17 11:05:18 -07:00
_tls_legacy.js lib: replace legacy uses of __defineGetter__ 2016-05-16 17:01:34 -07:00
_tls_wrap.js buffer: introduce latin1 encoding term 2016-06-07 13:51:14 -06:00
.eslintrc tools: add buffer-constructor eslint rule 2016-03-18 17:05:18 -07:00
assert.js assert: remove code that is never reached 2016-08-18 16:50:16 -07:00
buffer.js buffer: directly use ArrayBuffer as the pool 2016-09-02 12:38:12 +02:00
child_process.js child_process: control argv0 for spawned processes 2016-08-08 16:35:43 +02:00
cluster.js cluster: support stdio option for workers 2016-08-01 15:08:42 -04:00
console.js console: timeEnd() with no label emits warning 2016-04-25 08:28:23 -07:00
constants.js src: refactor require('constants') 2016-05-17 11:05:18 -07:00
crypto.js crypto: add crypto.timingSafeEqual() 2016-09-07 16:29:41 -07:00
dgram.js udp: remove ancient check 2016-08-13 08:38:37 +01:00
dns.js dns: remove makeAsync() function check 2016-08-22 11:07:05 -07:00
domain.js domain: add message for dispose deprecation 2016-06-07 00:27:42 -04:00
events.js events: make memory leak warning name more verbose 2016-09-04 17:11:59 +02:00
fs.js fs: use process.emitWarning to print deprecation warning 2016-09-02 13:15:27 -07:00
http.js http: remove deprecated Client interface 2016-08-29 21:44:58 -04:00
https.js crypto: fail early when loading crypto without openssl 2016-03-23 10:34:40 -07:00
module.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
net.js net: make holding the buffer in memory more robust 2016-08-27 16:11:46 +02:00
os.js os: deprecate tmpDir() in favour of tmpdir() 2016-06-30 14:52:13 +02:00
path.js path: fix basename() regressions 2016-05-18 02:12:28 -04:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js punycode: update to v2.0.0 2016-06-17 17:03:49 +02:00
querystring.js benchmark,test,lib: remove extra spaces 2016-05-11 23:18:16 -07:00
readline.js readline: key interval delay for \r & \n 2016-09-08 20:16:39 +05:30
repl.js repl: Auto alignment for .editor mode 2016-08-27 16:53:59 +05:30
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js string_decoder: fix bad utf8 character handling 2016-06-23 23:18:10 -04:00
sys.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
timers.js timers: remove unused repeat param in timer_wrap 2016-08-09 12:26:10 -07:00
tls.js tls: copy the Buffer object before using 2016-08-17 18:40:52 -07:00
tty.js tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
url.js url: keep auth in url.resolve() if host matches 2016-08-24 11:40:14 -07:00
util.js util: improve function signature of util._extend 2016-08-26 18:53:39 +05:30
v8.js v8,src: expose statistics about heap spaces 2016-01-18 11:44:00 -05:00
vm.js vm: change ContextifyScript to Script in comment 2016-09-08 08:41:23 +02:00
zlib.js zlib: move constants into zlib.constants 2016-06-11 17:24:35 -07:00