mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
Destroy established TLS sockets on fatal errors so pending writes cannot prevent HTTP/2 session cleanup from completing. Defer closing until after error handling to preserve connection details for listeners. Add regression coverage for standalone TLS socket closure and HTTP/2 cleanup with default and custom TLS connections. Fixes: https://github.com/nodejs/node/issues/67213 Signed-off-by: inoway46 <inoueyuya416@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/67215 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Tim Perry <pimterry@gmail.com>