Skip to content

http2: add missing error handlers

Attach simple error handlers in http2/core.js on sockets where they seem to be missing to avoid the process from crashing.

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

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

cc @mafintosh @nodejs/http2

Merge request reports

Loading