-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed
Labels
httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.
Description
- Version: v13.12.0
- Platform:
Linux solus 5.5.11-151.current #1 SMP PREEMPT Tue Mar 24 18:06:46 UTC 2020 x86_64 GNU/Linux
- Subsystem: http
What steps will reproduce the bug?
$ node
Welcome to Node.js v13.12.0.
Type ".help" for more information.
> z = https.get('https://google.com', {agent: new https.Agent({keepAlive: true})})
ClientRequest { ... }
> z._ended
true
> z.socket.destroyed
false
> z.abort()
undefined
> z.socket.destroyed
true
>
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
The socket should be still alive.
What do you see instead?
The socket is destroyed.
sindresorhus
Metadata
Metadata
Assignees
Labels
httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.