node/lib/internal
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
..
bootstrap lib: restructure cjs and esm loaders 2018-04-04 16:21:19 +02:00
cluster cluster: add support for NODE_OPTIONS="--inspect" 2018-03-24 11:42:37 +01:00
crypto lib: switch to Number.isNaN 2018-02-21 14:20:28 -05:00
http2 http2: callback valid check before closing request 2018-04-04 16:40:56 +02:00
modules lib: restructure cjs and esm loaders 2018-04-04 16:21:19 +02:00
process lib: restructure cjs and esm loaders 2018-04-04 16:21:19 +02:00
streams stream: make Duplex inherits from DuplexBase 2018-03-20 11:33:42 +00:00
test tools: non-Ascii linter for /lib only 2018-02-21 10:19:15 -05:00
util repl: show lexically scoped vars in tab completion 2018-01-10 03:09:43 -05:00
vm src: put bootstrappers in lib/internal/bootstrap/ 2018-04-04 16:21:09 +02:00
async_hooks.js async_hooks: add copyHooks function 2018-03-20 11:49:42 +00:00
buffer.js buffer: move setupBufferJS to internal 2017-10-25 10:36:17 -07:00
child_process.js errors: move error creation helpers to errors.js 2018-02-26 18:39:49 -05:00
constants.js url: replace "magic" numbers by constants 2018-03-20 11:49:37 +00:00
encoding.js lib: extract validation functions 2018-02-21 10:19:00 -05:00
errors.js lib: make isStackOverflowError() engine-agnostic 2018-04-03 11:10:33 +02:00
freelist.js
fs.js fs: support as and as+ flags in stringToFlags() 2018-03-20 12:04:09 +00:00
http.js
inspector_async_hook.js inspector: no async tracking for promises 2017-12-11 17:27:40 -05:00
linkedlist.js
net.js process: use more direct sync I/O for stdio 2018-02-26 23:42:52 +01:00
os.js
process.js tools,bootstrap: preprocess gypi files to json 2018-03-20 11:33:52 +00:00
querystring.js
readline.js lib,test: lint fixes for linter upgrade 2018-03-27 16:00:57 +02:00
readme.md
repl.js lib: switch to Number.isNaN 2018-02-21 14:20:28 -05:00
safe_globals.js
socket_list.js
tls.js
trace_events_async_hooks.js lib: fix typo in trace_events_async_hooks.js 2018-01-30 14:25:18 -06:00
url.js url: remove redundant function 2018-03-30 17:19:19 +02:00
util.js lib,test: lint fixes for linter upgrade 2018-03-27 16:00:57 +02:00
v8_prof_polyfill.js tools, test: fix prof polyfill readline 2018-02-26 23:42:51 +01:00
v8_prof_processor.js lib: define printErr() in script string 2018-03-20 11:34:00 +00:00
wrap_js_stream.js src: refactor WriteWrap and ShutdownWraps 2018-02-27 17:56:01 +01:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.