diff options
author | Robert Nagy <ronagy@icloud.com> | 2019-05-26 12:39:07 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-06-02 11:06:03 +0200 |
commit | c6f545a74a0d6888d2e628019a98a882a9325855 (patch) | |
tree | 16e0a10d8864d1e0beefb22d39bc47db64dcd2c6 /lib | |
parent | 41a35e0ebfb3a895e93757c85611184371cca8f4 (diff) | |
download | android-node-v8-c6f545a74a0d6888d2e628019a98a882a9325855.tar.gz android-node-v8-c6f545a74a0d6888d2e628019a98a882a9325855.tar.bz2 android-node-v8-c6f545a74a0d6888d2e628019a98a882a9325855.zip |
http: fix deferToConnect comments
PR-URL: https://github.com/nodejs/node/pull/27876
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/_http_client.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/_http_client.js b/lib/_http_client.js index bc2716b254..5555db1362 100644 --- a/lib/_http_client.js +++ b/lib/_http_client.js @@ -711,10 +711,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) |