Skip to content

http2: need a way to deal with aborted connections #21836

@addaleax

Description

@addaleax
  • Platform: various
  • Subsystem: http2

The test issues in #21561 highlighted that we have an issue in HTTP/2 with dealing with aborted connections. At this point, it’s not obvious how to do so in a cross-platform manner without triggering uncaught exceptions.

This part of the test should not be necessary:

// TODO(addaleax): This is a *hack*. HTTP/2 needs to have a proper way of
// dealing with this kind of issue.
process.once('uncaughtException', (err) => {
if (err.code === 'ECONNRESET') return;
throw err;
});

/cc @nodejs/http2 @apapirovski

Metadata

Metadata

Assignees

Labels

http2Issues or PRs related to the http2 subsystem.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions