We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
self.keepAlive
self.options.keepAlive
1 parent a0130e1 commit 8ac1ff7Copy full SHA for 8ac1ff7
lib/_http_agent.js
@@ -58,7 +58,7 @@ function Agent(options) {
58
if (req &&
59
req.shouldKeepAlive &&
60
!socket.destroyed &&
61
- self.options.keepAlive) {
+ self.keepAlive) {
62
var freeSockets = self.freeSockets[name];
63
var freeLen = freeSockets ? freeSockets.length : 0;
64
var count = freeLen;
0 commit comments