http: move free socket error handling to agent · nodejs/node@225ddd5 · GitHub
Skip to content

Commit 225ddd5

Browse files
ronagtargos
authored andcommitted
http: move free socket error handling to agent
The http client should not know anything about free sockets. Let the agent handle its pool of sockets. PR-URL: #32003 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent a40e7da commit 225ddd5

2 files changed

Lines changed: 21 additions & 10 deletions

File tree

lib/_http_agent.js

Lines changed: 14 additions & 0 deletions

lib/_http_client.js

Lines changed: 7 additions & 10 deletions

0 commit comments

Comments
 (0)