Skip to content

http2: guard against destroy in socket timeout

This one is difficult to test reliably, but in certain instances when timeout is emitted the session may already be destroyed. Just guard against it.

Fixes: https://github.com/nodejs/node/issues/14964

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

http2

Merge request reports

Loading