mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
8700d89306
Whether and when a socket is destroyed or not after a timeout is up to the user. This leaves an edge case where a socket that has emitted 'timeout' might be re-used from the free pool. Even if destroy is called on the socket, it won't be removed from the freelist until 'close' which can happen several ticks later. Sockets are removed from the free list on the 'close' event. However, there is a delay between calling destroy() and 'close' being emitted. This means that it possible for a socket that has been destroyed to be re-used from the free list, causing unexpected failures. PR-URL: https://github.com/nodejs/node/pull/32000 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> |
||
---|---|---|
.. | ||
api | ||
api_assets | ||
changelogs | ||
guides | ||
.eslintrc.yaml | ||
abi_version_registry.json | ||
first_timer_badge.png | ||
full-white-stripe.jpg | ||
node.1 | ||
osx_installer_logo.png | ||
template.html | ||
thin-white-stripe.jpg |