summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaiki Arai <darai0512@yahoo.co.jp>2018-04-23 03:48:41 +0900
committerAnna Henningsen <anna@addaleax.net>2018-05-05 13:57:07 +0200
commit67790962daccb5ff19c977119d7231cbe175c206 (patch)
treeb0f38605d3386586b6c8979ec9d14c96a9ca161c /doc
parentc6a42868c81d91e48b0672e0202bcc3223edfadf (diff)
downloadandroid-node-v8-67790962daccb5ff19c977119d7231cbe175c206.tar.gz
android-node-v8-67790962daccb5ff19c977119d7231cbe175c206.tar.bz2
android-node-v8-67790962daccb5ff19c977119d7231cbe175c206.zip
https: defines maxHeadersCount in the constructor
In Refs, http.Server's maxHeadersCount field was defined in the constructor to make hidden class stable and so on. Also in https.Server, we can use maxHeadersCount the same as http via connectionListener. So, defines it in the constructor and documentation. Refs: https://github.com/nodejs/node/pull/9116 PR-URL: https://github.com/nodejs/node/pull/20359 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/https.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/https.md b/doc/api/https.md
index e6795fea55..4fdd2fe7bc 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -36,6 +36,13 @@ See [`server.close()`][`http.close()`] from the HTTP module for details.
Starts the HTTPS server listening for encrypted connections.
This method is identical to [`server.listen()`][] from [`net.Server`][].
+
+### server.maxHeadersCount
+
+- {number} **Default:** `2000`
+
+See [`http.Server#maxHeadersCount`][].
+
### server.setTimeout([msecs][, callback])
<!-- YAML
added: v0.11.2
@@ -348,6 +355,7 @@ headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; p
[`URL`]: url.html#url_the_whatwg_url_api
[`http.Agent`]: http.html#http_class_http_agent
[`http.Server#keepAliveTimeout`]: http.html#http_server_keepalivetimeout
+[`http.Server#maxHeadersCount`]: http.html#http_server_maxheaderscount
[`http.Server#setTimeout()`]: http.html#http_server_settimeout_msecs_callback
[`http.Server#timeout`]: http.html#http_server_timeout
[`http.Server`]: http.html#http_class_http_server