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 41fcda8

Browse filesBrowse files
dschenkelmanMyles Borins
authored andcommitted
http: use self.keepAlive instead of self.options.keepAlive
In http.agent, all other options are directly accessed through `self.` not `self.options`. PR-URL: #4407 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c77fc71 commit 41fcda8
Copy full SHA for 41fcda8

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎lib/_http_agent.js‎

Copy file name to clipboardExpand all lines: lib/_http_agent.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function Agent(options) {
5858
if (req &&
5959
req.shouldKeepAlive &&
6060
!socket.destroyed &&
61-
self.options.keepAlive) {
61+
self.keepAlive) {
6262
var freeSockets = self.freeSockets[name];
6363
var freeLen = freeSockets ? freeSockets.length : 0;
6464
var count = freeLen;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.