Skip to content

Commit 93a1a07

Browse files
committed
doc: remove keepAlive options from http.request
These can only be specified in the options for http.Agent Fixes: #1300 PR-URL: #1392 Reviewed-By: Colin Ihrig <[email protected]>
1 parent 3ad6ea7 commit 93a1a07

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

doc/api/http.markdown

-5
Original file line numberDiff line numberDiff line change
@@ -478,11 +478,6 @@ Options:
478478
- `Agent` object: explicitly use the passed in `Agent`.
479479
- `false`: opts out of connection pooling with an Agent, defaults request to
480480
`Connection: close`.
481-
- `keepAlive`: {Boolean} Keep sockets around in a pool to be used
482-
by other requests in the future. Default = `false`
483-
- `keepAliveMsecs`: {Integer} When using HTTP KeepAlive, how often to
484-
send TCP KeepAlive packets over sockets being kept alive. Default =
485-
`1000`. Only relevant if `keepAlive` is set to `true`.
486481

487482
The optional `callback` parameter will be added as a one time listener for
488483
the ['response'][] event.

0 commit comments

Comments
 (0)