diff options
author | Daiki Arai <darai0512@yahoo.co.jp> | 2018-04-22 21:48:41 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-05-05 14:57:07 +0300 |
commit | 67790962daccb5ff19c977119d7231cbe175c206 (patch) | |
tree | b0f38605d3386586b6c8979ec9d14c96a9ca161c /doc/api/https.md | |
parent | c6a42868c81d91e48b0672e0202bcc3223edfadf (diff) |
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/api/https.md')
-rw-r--r-- | doc/api/https.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/https.md b/doc/api/https.md index e6795fea55b..4fdd2fe7bc8 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 |