http2: reword confusing comment
This commit is contained in:
parent
d439c092c2
commit
f69822c70e
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user