-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
httpsIssues or PRs related to the https subsystem.Issues or PRs related to the https subsystem.
Description
- Version: 6.4.0
- Platform: Windows 64bit
- Subsystem: _http_client.js
Line 271 in 1004ece
| req.emit('close'); |
When an HTTP request fails with an error, req.emit is not a function. I can reproduce in our application, but having difficulty creating a minimum sample. This is a call against an HTTPS endpoint that is returning a 500 error.
TypeError: req.emit is not a function
at TLSSocket.socketCloseListener (_http_client.js:271:7)
at emitOne (events.js:101:20)
at TLSSocket.emit (events.js:188:7)
at TCP._handle.close as _onclose
Metadata
Metadata
Assignees
Labels
httpsIssues or PRs related to the https subsystem.Issues or PRs related to the https subsystem.
