Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d948656

Browse filesBrowse files
ronagtargos
authored andcommitted
http: fix deferToConnect comments
PR-URL: #27876 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 1865057 commit d948656
Copy full SHA for d948656

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎lib/_http_client.js‎

Copy file name to clipboardExpand all lines: lib/_http_client.js
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.