diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-07 01:03:53 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-10 00:44:40 +0100 |
commit | f8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch) | |
tree | c73128074daa65d2e72e4d2a86a5b08059888144 /lib/_http_agent.js | |
parent | 01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff) | |
download | android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.gz android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.bz2 android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.zip |
benchmark,doc,lib,test: capitalize comments
PR-URL: https://github.com/nodejs/node/pull/26483
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'lib/_http_agent.js')
-rw-r--r-- | lib/_http_agent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_http_agent.js b/lib/_http_agent.js index 6d8d598ddc..3c488c7f05 100644 --- a/lib/_http_agent.js +++ b/lib/_http_agent.js @@ -162,7 +162,7 @@ Agent.prototype.addRequest = function addRequest(req, options, port/* legacy */, var sockLen = freeLen + this.sockets[name].length; if (freeLen) { - // we have a free socket, so use that. + // We have a free socket, so use that. var socket = this.freeSockets[name].shift(); // Guard against an uninitialized or user supplied Socket. if (socket._handle && typeof socket._handle.asyncReset === 'function') { @@ -357,7 +357,7 @@ function setRequestSocket(agent, req, socket) { return; } socket.setTimeout(req.timeout); - // reset timeout after response end + // Reset timeout after response end req.once('response', (res) => { res.once('end', () => { if (socket.timeout !== agentTimeout) { |