Skip to content

Conversation

@mcollina
Copy link
Member

There should be no default error handling when using Http2Stream.
All errors will end up in 'streamError' on the server anyway,
but they are emitted on 'stream' as well, otherwise some error
conditions are impossible to debug.

See: #14991

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added dont-land-on-v4.x http2 Issues or PRs related to the http2 subsystem. labels Mar 8, 2018
@mcollinamcollina requested review from addaleax, apapirovski and jasnell and removed request for jasnellMarch 8, 2018 15:42
@mcollina
Copy link
MemberAuthor

cc @nodejs/http2

@mcollina
Copy link
MemberAuthor

There should be no default error handling when using Http2Stream. All errors will end up in `'streamError'` on the server anyway, but they are emitted on `'stream'` as well, otherwise some error conditions are impossible to debug. See: nodejs#14991
@mcollinamcollinaforce-pushed the fixed-error-handling branch from bf33cfc to 80f9390CompareMarch 8, 2018 17:00
@mcollina
Copy link
MemberAuthor

@mcollina
Copy link
MemberAuthor

Landed in 8403f00

mcollina added a commit that referenced this pull request Mar 12, 2018
There should be no default error handling when using Http2Stream. All errors will end up in `'streamError'` on the server anyway, but they are emitted on `'stream'` as well, otherwise some error conditions are impossible to debug. See: #14991 PR-URL: #19232 Reviewed-By: James M Snell <[email protected]>
@MylesBorins
Copy link
Contributor

This is causing a linter error on v9.x

Should this be backported to v9.x-staging? If yes please follow the guide and raise a backport PR, if not let me know or add the dont-land-on label.

@mcollinamcollina deleted the fixed-error-handling branch March 20, 2018 11:39
@mcollina
Copy link
MemberAuthor

on its way.

mcollina added a commit to mcollina/node that referenced this pull request Mar 20, 2018
There should be no default error handling when using Http2Stream. All errors will end up in `'streamError'` on the server anyway, but they are emitted on `'stream'` as well, otherwise some error conditions are impossible to debug. See: nodejs#14991 PR-URL: nodejs#19232 Reviewed-By: James M Snell <[email protected]>
@mcollina
Copy link
MemberAuthor

Backport to 9.x in #19478.

mcollina added a commit to mcollina/node that referenced this pull request Mar 21, 2018
There should be no default error handling when using Http2Stream. All errors will end up in `'streamError'` on the server anyway, but they are emitted on `'stream'` as well, otherwise some error conditions are impossible to debug. See: nodejs#14991 PR-URL: nodejs#19232 Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 21, 2018
There should be no default error handling when using Http2Stream. All errors will end up in `'streamError'` on the server anyway, but they are emitted on `'stream'` as well, otherwise some error conditions are impossible to debug. See: #14991 Backport-PR-URL: #19478 PR-URL: #19232 Reviewed-By: James M Snell <[email protected]>
@targostargos mentioned this pull request Mar 21, 2018
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
There should be no default error handling when using Http2Stream. All errors will end up in `'streamError'` on the server anyway, but they are emitted on `'stream'` as well, otherwise some error conditions are impossible to debug. See: nodejs#14991 PR-URL: nodejs#19232 Reviewed-By: James M Snell <[email protected]>
@addaleaxaddaleax mentioned this pull request Oct 20, 2018
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

http2Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@mcollina@MylesBorins@jasnell@trivikr@nodejs-github-bot