doc: remove keepAlive options from http.request
authorJeremiah Senkpiel <fishrock123@rocketmail.com>
Fri, 10 Apr 2015 16:58:55 +0000 (12:58 -0400)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Sat, 11 Apr 2015 14:46:17 +0000 (10:46 -0400)
These can only be specified in the options for http.Agent

Fixes: https://github.com/iojs/io.js/issues/1300
PR-URL: https://github.com/iojs/io.js/pull/1392
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
doc/api/http.markdown

index ab7b759..72147be 100644 (file)
@@ -478,11 +478,6 @@ Options:
  - `Agent` object: explicitly use the passed in `Agent`.
  - `false`: opts out of connection pooling with an Agent, defaults request to
    `Connection: close`.
- - `keepAlive`: {Boolean} Keep sockets around in a pool to be used
-  by other requests in the future. Default = `false`
- - `keepAliveMsecs`: {Integer} When using HTTP KeepAlive, how often to
-  send TCP KeepAlive packets over sockets being kept alive.  Default =
-  `1000`.  Only relevant if `keepAlive` is set to `true`.
 
 The optional `callback` parameter will be added as a one time listener for
 the ['response'][] event.