summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-10-31 15:48:16 +0100
committerAnna Henningsen <anna@addaleax.net>2019-11-06 12:23:54 +0100
commitd26a74dca0d04a827140a33a43c38a55f12c7296 (patch)
treee2734a92fb6c8f1c8ce821f29da68bbd6a933bc6 /Makefile
parent0673dfc0d8944a37e17fbaa683022f4b9e035577 (diff)
downloadnode-new-d26a74dca0d04a827140a33a43c38a55f12c7296.tar.gz
http,async_hooks: keep resource object alive from socket
If `asyncReset()` is used to specify an alternative resource object to mark a re-used socket in the HTTP Agent implementation, store that object and keep it alive, because domains rely on GC tracking for resource objects to manage their own lifetimes, and previously that resource object might have been garbage-collected too early, leading to crashes. Fixes: https://github.com/nodejs/node/issues/30122 PR-URL: https://github.com/nodejs/node/pull/30196 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions