http: fix ClientRequest unhandled errors · nodejs/node@4cdc5ea · GitHub
Skip to content

Commit 4cdc5ea

Browse files
ronagdanielleadams
authored andcommitted
http: fix ClientRequest unhandled errors
ClientRequest could someone cause an unhandled error from socket. Fixes: #36931 PR-URL: #36970 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent b87c0d6 commit 4cdc5ea

2 files changed

Lines changed: 41 additions & 7 deletions

File tree

lib/_http_client.js

Lines changed: 9 additions & 7 deletions
Lines changed: 32 additions & 0 deletions

0 commit comments

Comments
 (0)