node/lib
Jeremiah Senkpiel 02c2bf7d34 timers: use consistent checks for canceled timers
Previously not all codepaths set `timer._idleTimeout = -1` for canceled
or closed timers, and not all codepaths checked it either.

Unenroll uses this to say that a timer is indeed closed and it is the
closest thing there is to an authoritative source for this.

Refs: https://github.com/nodejs/node/pull/9606
Fixes: https://github.com/nodejs/node/issues/9561
PR-URL: https://github.com/nodejs/node/pull/9685
Reviewed-By: Rich Trott <rtrott@gmail.com>
2016-11-22 12:29:41 -05:00
..
internal fs: export realpathCacheKey from internal/fs 2016-11-22 06:35:55 +01:00
.eslintrc tools: avoid let in for loops 2016-10-17 09:43:41 -07:00
_debug_agent.js debugger: use arrow function for lexical this 2016-08-18 16:44:38 -07:00
_debugger.js
_http_agent.js http: name anonymous functions 2016-10-18 21:10:37 -07:00
_http_client.js http: name anonymous functions in _http_client 2016-10-18 21:10:37 -07:00
_http_common.js http: fix connection upgrade checks 2016-08-26 10:17:34 -04:00
_http_incoming.js http: name anonymous functions in _http_incoming 2016-10-18 21:10:37 -07:00
_http_outgoing.js http: add debug message for invalid header value 2016-11-03 05:32:04 -05:00
_http_server.js http: name anonymous functions in _http_server 2016-10-18 21:10:38 -07:00
_linklist.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js streams: fix regression in unpipe() 2016-10-19 14:02:00 +01:00
_stream_transform.js stream: improve stream error messages 2016-10-10 15:15:54 -07:00
_stream_wrap.js test,lib,benchmark: match function names 2016-10-20 09:32:45 -07:00
_stream_writable.js test: writable stream ending state 2016-11-03 05:32:02 -05:00
_tls_common.js tls: improve createSecureContext in _tls_common 2016-09-29 11:15:04 -07:00
_tls_legacy.js test,lib,benchmark: match function names 2016-10-20 09:32:45 -07:00
_tls_wrap.js tls: fix leak of WriteWrap+TLSWrap combination 2016-11-16 14:11:53 -05:00
assert.js assert: name anonymous functions 2016-10-20 09:31:53 -07:00
buffer.js buffer: coerce offset using Math.trunc() 2016-11-07 15:14:02 -06:00
child_process.js child_process: remove unreachable code 2016-11-03 05:32:05 -05:00
cluster.js cluster: remove unused backlog argument 2016-10-06 11:49:16 -07:00
console.js console: name anonymous functions 2016-10-17 09:44:52 -07:00
constants.js
crypto.js crypto: return this in setAuthTag/setAAD 2016-11-22 06:38:01 +01:00
dgram.js dgram: use Buffer.alloc(0) for zero-size buffers 2016-10-10 08:13:50 -07:00
dns.js dns: implement {ttl: true} for dns.resolve4() 2016-11-22 11:15:05 -05:00
domain.js test,lib,benchmark: match function names 2016-10-20 09:32:45 -07:00
events.js events: remove unnecessary checks 2016-11-03 05:32:07 -05:00
fs.js fs: Fix default params for fs.write(Sync) 2016-11-22 11:13:45 -05:00
http.js http: name anonymous functions in http 2016-10-18 21:10:38 -07:00
https.js
module.js fs: export realpathCacheKey from internal/fs 2016-11-22 06:35:55 +01:00
net.js net: name anonymous functions 2016-11-03 05:37:19 -05:00
os.js os: deprecate tmpDir() in favour of tmpdir() 2016-06-30 14:52:13 +02:00
path.js path: fallback to process cwd when resolving drive cwd 2016-09-29 11:14:49 -07:00
process.js
punycode.js lib: remove let from for loops 2016-10-06 11:51:53 -07:00
querystring.js
readline.js readline: use icu based string width calculation 2016-11-03 04:49:14 -05:00
repl.js repl: refactor lib/repl.js 2016-11-07 15:13:40 -06:00
stream.js
string_decoder.js
sys.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
timers.js timers: use consistent checks for canceled timers 2016-11-22 12:29:41 -05:00
tls.js lib: remove let from for loops 2016-10-06 11:51:53 -07:00
tty.js tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
url.js lib,test: remove unneeded escaping of / 2016-11-22 06:32:15 +01:00
util.js intl: Add more versions from ICU 2016-11-03 05:31:52 -05:00
v8.js src: extend HeapStatistics with new fields 2016-11-22 06:38:02 +01:00
vm.js vm: name anonymous functions 2016-11-07 15:58:12 -06:00
zlib.js zlib: fix linting recently-introduced lint error 2016-11-22 06:32:14 +01:00