http2: add slow headers timer
Uses a timer to make sure receiving headers doesn't take too long. This needs to be done at the native level because receiving headers occurs at the native level before JS timeouts can be set.
Still need to add a test case for this... will do that after https://github.com/nodejs/node/pull/17944 lands.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
http2