http2: reword confusing comment

This commit is contained in:
Ben Noordhuis 2011-08-08 17:37:52 +02:00
parent d439c092c2
commit f69822c70e

View File

@ -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));