Skip to content

Commit d948656

Browse files
ronagtargos
authored andcommitted
http: fix deferToConnect comments
PR-URL: #27876 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 1865057 commit d948656

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/_http_client.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -711,10 +711,10 @@ function onSocketNT(req, socket) {
711711
ClientRequest.prototype._deferToConnect = _deferToConnect;
712712
function _deferToConnect(method, arguments_, cb) {
713713
// This function is for calls that need to happen once the socket is
714-
// connected and writable. It's an important promisy thing for all the socket
715-
// calls that happen either now (when a socket is assigned) or
716-
// in the future (when a socket gets assigned out of the pool and is
717-
// eventually writable).
714+
// assigned to this request and writable. It's an important promisy
715+
// thing for all the socket calls that happen either now
716+
// (when a socket is assigned) or in the future (when a socket gets
717+
// assigned out of the pool and is eventually writable).
718718

719719
const callSocketMethod = () => {
720720
if (method)

0 commit comments

Comments
 (0)