mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
This removes a guard (no reads while write pending) that creates this deadlock, which was added as a security mechanism. This guard is redundant given then other existing mechanisms, and a test is added to demonstrate that. Signed-off-by: Tim Perry <pimterry@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65440 Backport-PR-URL: https://github.com/nodejs/node/pull/65953 Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Tim Perry <pimterry@gmail.com>