node/test/known_issues
Michael Lumish 3f8cbb15cb
http2: allow streams to complete gracefully after goaway
A detailed analysis of the cause of this bug is in my linked comment on
the corresponding issue. The primary fix is the new setImmediate call in
Http2Stream#_destroy, which prevents a re-entrant call into
Http2Session::SendPendingData when sending trailers after the
Http2Session has been shut down, allowing the trailer data to be flushed
properly before the socket is closed.

As a result of this change, writes can be initiated later in the
lifetime of the Http2Session. So, when a JSStreamSocket is used as the
underlying socket reference for an Http2Session, it needs to be able to
accept write calls after it is closed.

In addition, now that outgoing data can be flushed differently after a
session is closed, in two tests clients receive errors that they
previously did not receive. I believe the new errors are more correct,
so I changed the tests to match.

Fixes: https://github.com/nodejs/node/issues/42713
Refs: https://github.com/nodejs/node/issues/42713#issuecomment-1756140062
PR-URL: https://github.com/nodejs/node/pull/50202
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2023-10-23 08:19:40 +02:00
..
known_issues.status src: make realm binding data store weak 2023-06-14 02:05:00 +00:00
test-cli-print-var-crypto.js lib: enable global WebCrypto by default 2022-09-17 15:54:33 +02:00
test-cwd-enoent-file.js test: disambiguate AIX and IBM i 2023-09-29 18:26:27 +00:00
test-dgram-bind-shared-ports-after-port-0.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
test-fs-writeFileSync-invalid-windows.js
test-http-path-contains-unicode.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
test-inspector-cluster-port-clash.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-permission-model-path-resolution.js doc,test: add known path resolution issue in permission model 2023-08-31 06:58:59 +00:00
test-repl-require-context.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
test-stdin-is-always-net.socket.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
test-stream-writable-sync-error.js
test-url-parse-conformance.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
test-vm-function-declaration-uses-define.js vm: add tests for function declarations using [[DefineOwnProperty]] 2020-07-16 00:24:36 +02:00
test-vm-ownkeys.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
test-vm-ownpropertynames.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
test-vm-ownpropertysymbols.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
test-vm-timeout-escape-nexttick.js test: unflake test-vm-timeout-escape-nexttick 2023-05-24 11:07:06 +00:00
test-vm-timeout-escape-queuemicrotask.js test: add trailing commas in test/known_issues 2023-02-01 10:46:55 +01:00
testcfg.py