Skip to content

Commit

Permalink
doc: remove keepAlive options from http.request
Browse files Browse the repository at this point in the history
These can only be specified in the options for http.Agent

Fixes: #1300
PR-URL: #1392
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
Fishrock123 committed Apr 11, 2015
1 parent 3ad6ea7 commit 93a1a07
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 93a1a07

Please sign in to comment.