diff options
author | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2015-04-09 10:56:02 -0400 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2015-04-09 11:23:39 -0400 |
commit | 69bc1382b7b0a1271a5f344be7574c55addc99e8 (patch) | |
tree | 712ce8a4089afb1e9035ab84a3f592a60c947240 /doc | |
parent | 7049d7b4746dc5dae82d608ac12dc6e1cf11035e (diff) | |
download | node-new-69bc1382b7b0a1271a5f344be7574c55addc99e8.tar.gz |
doc: properly indent http.Agent keepAlive options
Fixes: https://github.com/iojs/io.js/issues/1300
PR-URL: https://github.com/iojs/io.js/pull/1384
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/http.markdown b/doc/api/http.markdown index de8e7eb6dd..ab7b75945b 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -478,9 +478,9 @@ 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 + - `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 + - `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`. |