summaryrefslogtreecommitdiff
path: root/lib/http2.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-08-08 17:37:52 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2011-08-08 17:38:50 +0200
commitf69822c70e5f02e37f984d5282f675733d2de9c2 (patch)
treecf2012884b81b75dceaa8047758bb416ebf2f0f8 /lib/http2.js
parentd439c092c20395b601aba9a68807868a85b422aa (diff)
downloadandroid-node-v8-f69822c70e5f02e37f984d5282f675733d2de9c2.tar.gz
android-node-v8-f69822c70e5f02e37f984d5282f675733d2de9c2.tar.bz2
android-node-v8-f69822c70e5f02e37f984d5282f675733d2de9c2.zip
http2: reword confusing comment
Diffstat (limited to 'lib/http2.js')
-rw-r--r--lib/http2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.js b/lib/http2.js
index 36b81ec2c7..7947485e05 100644
--- a/lib/http2.js
+++ b/lib/http2.js
@@ -1035,7 +1035,7 @@ function ClientRequest(options, cb) {
self.shouldKeepAlive = true;
self.agent.addRequest(self, options.host, options.port);
} else {
- // No agent should default to Connection:close.
+ // No agent, default to Connection:close.
self._last = true;
self.shouldKeepAlive = false;
self.onSocket(net.createConnection(options.port, options.host));