Skip to content

Commit 2fd58d5

Browse files
committed
http: fix deferToConnect comments
1 parent b4e24e3 commit 2fd58d5

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
@@ -705,10 +705,10 @@ function onSocketNT(req, socket) {
705705
ClientRequest.prototype._deferToConnect = _deferToConnect;
706706
function _deferToConnect(method, arguments_, cb) {
707707
// This function is for calls that need to happen once the socket is
708-
// connected and writable. It's an important promisy thing for all the socket
709-
// calls that happen either now (when a socket is assigned) or
710-
// in the future (when a socket gets assigned out of the pool and is
711-
// eventually writable).
708+
// assigned to this request and writable. It's an important promisy
709+
// thing for all the socket calls that happen either now
710+
// (when a socket is assigned) or in the future (when a socket gets
711+
// assigned out of the pool and is eventually writable).
712712

713713
const callSocketMethod = () => {
714714
if (method)

0 commit comments

Comments
 (0)