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> |
||
|---|---|---|
| .. | ||
| bootstrap | ||
| cluster | ||
| crypto | ||
| http2 | ||
| modules | ||
| process | ||
| streams | ||
| test | ||
| util | ||
| vm | ||
| async_hooks.js | ||
| buffer.js | ||
| child_process.js | ||
| constants.js | ||
| encoding.js | ||
| errors.js | ||
| freelist.js | ||
| fs.js | ||
| http.js | ||
| inspector_async_hook.js | ||
| linkedlist.js | ||
| net.js | ||
| os.js | ||
| process.js | ||
| querystring.js | ||
| readline.js | ||
| readme.md | ||
| repl.js | ||
| safe_globals.js | ||
| socket_list.js | ||
| tls.js | ||
| trace_events_async_hooks.js | ||
| url.js | ||
| util.js | ||
| v8_prof_polyfill.js | ||
| v8_prof_processor.js | ||
| wrap_js_stream.js | ||
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.