From 2fd58d5d8fcbe530693fa462a3ed7d7a26b2aec6 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Sun, 26 May 2019 12:39:07 +0200 Subject: [PATCH] http: fix deferToConnect comments --- lib/_http_client.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/_http_client.js b/lib/_http_client.js index de7b01cbd1b9bd..f50d256da6ded9 100644 --- a/lib/_http_client.js +++ b/lib/_http_client.js @@ -705,10 +705,10 @@ function onSocketNT(req, socket) { ClientRequest.prototype._deferToConnect = _deferToConnect; function _deferToConnect(method, arguments_, cb) { // This function is for calls that need to happen once the socket is - // connected and writable. It's an important promisy thing for all the socket - // calls that happen either now (when a socket is assigned) or - // in the future (when a socket gets assigned out of the pool and is - // eventually writable). + // assigned to this request and writable. It's an important promisy + // thing for all the socket calls that happen either now + // (when a socket is assigned) or in the future (when a socket gets + // assigned out of the pool and is eventually writable). const callSocketMethod = () => { if (method)