-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Open
Labels
httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.
Description
- Version: v14.5.0
- Platform: Linux solus 5.6.19-158.current deps: update openssl to 1.0.1j #1 SMP PREEMPT Sun Jul 26 14:17:01 UTC 2020 x86_64 GNU/Linux
- Subsystem: http
What steps will reproduce the bug?
const http = require('http');
const net = require('net');
const request = http.get('http://example.com', {
createConnection: () => null
});
request.once('error', console.error);
request.destroy(new Error('Oh no.'));How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
Error: Oh no.
What do you see instead?
(hangs indefinitely)
sindresorhus, dilame, sampok, jhuntbach-bc, SinBirb and 1 more
Metadata
Metadata
Assignees
Labels
httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.