Skip to content

Commit

Permalink
http: fix deferToConnect comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed May 26, 2019
1 parent b4e24e3 commit 2fd58d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/_http_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2fd58d5

Please sign in to comment.