0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-25 08:19:38 +01:00
nodejs/lib
Fedor Indutny 9b6b05556f net: unref timer in parent sockets
`TLSSocket` wraps the original `net.Socket`, but writes/reads to/from
`TLSSocket` do not touch the timers of original `net.Socket`.

Introduce `socket._parent` property, and iterate through all parents
to unref timers and prevent timeout event on original `net.Socket`.

Fix: https://github.com/joyent/node/issues/9242
PR-URL: https://github.com/iojs/io.js/pull/891
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-02-19 18:44:10 +01:00
..
_debug_agent.js
_debugger.js lib: make debug client connect to 127.0.0.1 2015-02-06 16:49:47 +01:00
_http_agent.js
_http_client.js tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
_http_common.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_http_incoming.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_http_outgoing.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_http_server.js tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
_linklist.js
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js stream: simpler stream constructon 2015-02-04 20:19:39 -08:00
_stream_transform.js stream: simpler stream constructon 2015-02-04 20:19:39 -08:00
_stream_writable.js stream: simpler stream constructon 2015-02-04 20:19:39 -08:00
_tls_common.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_tls_legacy.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_tls_wrap.js net: unref timer in parent sockets 2015-02-19 18:44:10 +01:00
assert.js assert: introduce deepStrictEqual 2015-02-09 14:14:20 +03:00
buffer.js buffer: fix pool offset adjustment 2015-02-16 14:09:50 -07:00
child_process.js child_process: add debug and error details 2015-02-05 12:58:15 -05:00
cluster.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
console.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
constants.js
crypto.js crypto: support passwords in publicEncrypt 2015-02-02 23:21:49 +01:00
dgram.js dgram: check close callback is function 2015-02-02 18:44:05 +01:00
dns.js dns: allow dns.lookup() to return all addresses 2015-02-06 17:18:47 -05:00
domain.js
events.js events: optimize adding and removing of listeners 2015-02-11 23:06:26 +01:00
freelist.js
fs.js fs: ensure nullCheck() callback is a function 2015-02-19 11:26:18 -05:00
http.js http: replace util._extend() with [].slice() 2015-02-02 14:52:02 -08:00
https.js https: simpler argument check 2015-02-07 12:00:16 -08:00
module.js module: replace NativeModule.require 2015-02-13 13:37:25 -05:00
net.js net: unref timer in parent sockets 2015-02-19 18:44:10 +01:00
os.js
path.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
process.js
punycode.js
querystring.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
readline.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
repl.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
smalloc.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
stream.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
string_decoder.js
sys.js
timers.js net: throw on invalid socket timeouts 2015-02-13 13:37:24 -05:00
tls.js tls: more secure defaults 2015-02-16 12:33:12 +01:00
tty.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
url.js url: reslove urls with . and .. 2015-02-13 14:05:05 -05:00
util.js util: simplify isPrimitive 2015-02-07 17:41:44 +03:00
v8.js
vm.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
zlib.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00