summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames Bunton <jbunton@atlassian.com>2018-12-19 14:59:02 +1100
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2019-01-09 10:40:21 +0200
commitb83088b0bb2b8dfa6ee72a807cc10fe1ac898278 (patch)
tree83419e621fa0d05eac75267448f37aff49e31e6e /doc
parentddbb7d7777bea03b50b0c78fa4c535081e61dde2 (diff)
downloadandroid-node-v8-b83088b0bb2b8dfa6ee72a807cc10fe1ac898278.tar.gz
android-node-v8-b83088b0bb2b8dfa6ee72a807cc10fe1ac898278.tar.bz2
android-node-v8-b83088b0bb2b8dfa6ee72a807cc10fe1ac898278.zip
doc: add history to http.request.setTimeout()
PR-URL: https://github.com/nodejs/node/pull/25121 Refs: https://github.com/nodejs/node/pull/8895 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index e0c9903580..e4474c773a 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -695,6 +695,10 @@ Once a socket is assigned to this request and is connected
### request.setTimeout(timeout[, callback])
<!-- YAML
added: v0.5.9
+changes:
+ - version: v9.0.0
+ pr-url: https://github.com/nodejs/node/pull/8895
+ description: Consistently set socket timeout only when the socket connects.
-->
* `timeout` {number} Milliseconds before a request times out.