-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
http2Issues or PRs related to the http2 subsystem.Issues or PRs related to the http2 subsystem.
Description
- 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:
node/test/parallel/test-http2-respond-with-file-connection-abort.js
Lines 32 to 37 in d94950e
// 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.Issues or PRs related to the http2 subsystem.