node/lib/internal/http2
Trivikram 2bdf3ca235
http2: callback valid check before closing request
Do not close the request if callback is not a function, and
throw ERR_INVALID_CALLBACK TypeError

Backport-PR-URL: https://github.com/nodejs/node/pull/19229
PR-URL: https://github.com/nodejs/node/pull/19061
Fixes: https://github.com/nodejs/node/issues/18855
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2018-04-04 16:40:56 +02:00
..
compat.js http2: add req and res options to server creation 2018-02-21 14:20:06 -05:00
core.js http2: callback valid check before closing request 2018-04-04 16:40:56 +02:00
util.js http2: implement maxSessionMemory 2018-01-10 01:42:21 -05:00