node/lib/internal
Anatoli Papirovski 2687d44739
http2: fix several serious bugs
Currently http2 does not properly submit GOAWAY frames when a session
is being destroyed. It also doesn't properly handle when the other
party severs the connection after sending a GOAWAY frame, even though
it should.

Edge, IE & Safari are currently unable to handle empty TRAILERS
frames despite them being correctly to spec. Instead send an empty
DATA frame with END_STREAM flag in those situations.

Fix and adjust several flaky and/or incorrect tests.

PR-URL: https://github.com/nodejs/node/pull/20772
Fixes: https://github.com/nodejs/node/issues/20705
Fixes: https://github.com/nodejs/node/issues/20750
Fixes: https://github.com/nodejs/node/issues/20850
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-05-23 17:05:38 -04:00
..
bootstrap perf_hooks: always set bootstrapComplete 2018-05-22 14:24:32 -04:00
cluster cluster: remove obsolete array allocation 2018-05-22 14:13:28 -04:00
crypto string_decoder: lazy loaded 2018-05-22 14:13:28 -04:00
fs fs: refactor promises version of lchown and lchmod 2018-05-22 14:09:48 -04:00
http2 http2: fix several serious bugs 2018-05-23 17:05:38 -04:00
modules lib: lazy load necessary loaders 2018-05-22 14:13:28 -04:00
process lib: defer pausing stdin to the next tick 2018-05-14 19:19:32 +02:00
repl
streams stream: lazy load end-of-stream 2018-05-22 14:13:28 -04:00
test src: put bootstrappers in lib/internal/bootstrap/ 2018-03-15 20:50:34 +08:00
util util: add type check functions for BigInt arrays 2018-04-16 16:05:08 -07:00
vm module: introduce defaultModuleName in module.js 2018-05-22 14:09:48 -04:00
assert.js assert: support symbols as assertion messages 2018-05-22 14:09:48 -04:00
async_hooks.js async_hooks: add copyHooks function 2018-03-20 07:42:00 +01:00
buffer.js errors: validate input arguments 2018-04-16 16:11:21 -07:00
child_process.js string_decoder: lazy loaded 2018-05-22 14:13:28 -04:00
cli_table.js console: add table method 2018-03-30 19:41:41 -05:00
constants.js os: lazy loaded 2018-05-22 14:13:28 -04:00
encoding.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
errors.js errors: move functions to error code 2018-05-12 17:33:34 +02:00
fixed_queue.js lib: expose FixedQueue internally and fix nextTick bug 2018-05-08 18:26:16 -07:00
freelist.js
http.js
inspector_async_hook.js async_hooks: lazy loading for startup performance 2018-05-22 14:13:28 -04:00
linkedlist.js
net.js net: track bytesWritten in C++ land 2018-03-30 14:20:40 +02:00
os.js
process.js lib: do not call performance hooks 2018-05-22 14:13:28 -04:00
querystring.js
readline.js lib,test: lint fixes for linter upgrade 2018-03-24 04:11:40 -07:00
readme.md
repl.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00
safe_globals.js
socket_list.js lib: port remaining errors to new system 2018-03-07 14:54:38 +01:00
stream_base_commons.js net,http2: merge write error handling & property names 2018-04-16 16:08:42 -07:00
timers.js timers: make timer.refresh() a public API 2018-05-12 17:51:18 +02:00
tls.js
trace_events_async_hooks.js lib: lazy loaded 2018-05-22 14:13:28 -04:00
tty.js os: lazy loaded 2018-05-22 14:13:28 -04:00
url.js querystring: lazy loaded 2018-05-22 14:13:28 -04:00
util.js util: improve spliceOne perf 2018-05-08 14:22:25 -07:00
v8_prof_polyfill.js tools, test: fix prof polyfill readline 2018-02-17 10:06:53 -02:00
v8_prof_processor.js lib: define printErr() in script string 2018-03-12 08:45:13 -07:00
wrap_js_stream.js net: honor default values in Socket constructor 2018-04-23 09:47:23 -07: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.