From 0ac6cb32f3fc26fa5ec5df43e6a292c9d7b84f16 Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Fri, 10 Apr 2015 12:58:55 -0400 Subject: [PATCH] doc: remove keepAlive options from http.request These can only actually be specified in the options for http.Agent --- doc/api/http.markdown | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index ab7b75945bb8ee..72147bec62f4a7 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -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.