summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorJeremiah Senkpiel <fishrock123@rocketmail.com>2017-02-03 16:05:59 -0500
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2017-12-20 18:28:11 -0500
commit24dd92e77f9aad95ce3cae0baba75d0a5e5439cf (patch)
tree43f6924c07e793110e15beb328602a109533cd1f /node.gyp
parentd6b1b84ca0b6465e1517d5e8380953426ace0f49 (diff)
downloadandroid-node-v8-24dd92e77f9aad95ce3cae0baba75d0a5e5439cf.tar.gz
android-node-v8-24dd92e77f9aad95ce3cae0baba75d0a5e5439cf.tar.bz2
android-node-v8-24dd92e77f9aad95ce3cae0baba75d0a5e5439cf.zip
net: use actual Timeout instance on Sockets
This makes `net.Sockets` use actual Timeout objects in a `[kTimeout]` symbol property, rather than making the socket itself a timer and appending properties to it directly. This should make the code generally easier to understand, and might also prevent some deopts from properties being changes on the socket itself. Also moves the Timeout constructor into an internal module. PR-URL: https://github.com/nodejs/node/pull/17704 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 5d4650e560..c1c83f6213 100644
--- a/node.gyp
+++ b/node.gyp
@@ -123,6 +123,7 @@
'lib/internal/repl/await.js',
'lib/internal/socket_list.js',
'lib/internal/test/unicode.js',
+ 'lib/internal/timers.js',
'lib/internal/tls.js',
'lib/internal/trace_events_async_hooks.js',
'lib/internal/url.js',