Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranshu Srivastava <rexagod@gmail.com>2020-05-23 00:55:32 +0300
committerJames M Snell <jasnell@gmail.com>2020-06-26 20:09:28 +0300
commit074df495edf180dc58858208b40998a1e70db3c8 (patch)
treeb0ad70e4d6192a453cda05411bbe9afa2897ab36 /doc/api/http2.md
parent870f0fc5e8d18d6a8343aa32a9e7197065ee3e62 (diff)
doc: specify maxHeaderCount alias for maxHeaderListPairs
Fixes: https://github.com/nodejs/node/issues/32388 PR-URL: https://github.com/nodejs/node/pull/33519 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 3ad8b111672..737538c78f1 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -2055,7 +2055,9 @@ changes:
queued to be sent, and unacknowledged `PING` and `SETTINGS` frames are all
counted towards the current limit. **Default:** `10`.
* `maxHeaderListPairs` {number} Sets the maximum number of header entries.
- The minimum value is `4`. **Default:** `128`.
+ This is similar to [`http.Server#maxHeadersCount`][] or
+ [`http.ClientRequest#maxHeadersCount`][]. The minimum value is `4`.
+ **Default:** `128`.
* `maxOutstandingPings` {number} Sets the maximum number of outstanding,
unacknowledged pings. **Default:** `10`.
* `maxSendHeaderBlockLength` {number} Sets the maximum allowed size for a
@@ -2194,7 +2196,9 @@ changes:
queued to be sent, and unacknowledged `PING` and `SETTINGS` frames are all
counted towards the current limit. **Default:** `10`.
* `maxHeaderListPairs` {number} Sets the maximum number of header entries.
- The minimum value is `4`. **Default:** `128`.
+ This is similar to [`http.Server#maxHeadersCount`][] or
+ [`http.ClientRequest#maxHeadersCount`][]. The minimum value is `4`.
+ **Default:** `128`.
* `maxOutstandingPings` {number} Sets the maximum number of outstanding,
unacknowledged pings. **Default:** `10`.
* `maxSendHeaderBlockLength` {number} Sets the maximum allowed size for a
@@ -2307,7 +2311,9 @@ changes:
queued to be sent, and unacknowledged `PING` and `SETTINGS` frames are all
counted towards the current limit. **Default:** `10`.
* `maxHeaderListPairs` {number} Sets the maximum number of header entries.
- The minimum value is `1`. **Default:** `128`.
+ This is similar to [`http.Server#maxHeadersCount`][] or
+ [`http.ClientRequest#maxHeadersCount`][]. The minimum value is `1`.
+ **Default:** `128`.
* `maxOutstandingPings` {number} Sets the maximum number of outstanding,
unacknowledged pings. **Default:** `10`.
* `maxReservedRemoteStreams` {number} Sets the maximum number of reserved push
@@ -3639,6 +3645,8 @@ following additional properties:
[`Http2Stream`]: #http2_class_http2stream
[`ServerHttp2Stream`]: #http2_class_serverhttp2stream
[`TypeError`]: errors.html#errors_class_typeerror
+[`http.ClientRequest#maxHeadersCount`]: http.html#http_request_maxheaderscount
+[`http.Server#maxHeadersCount`]: http.html#http_server_maxheaderscount
[`http2.SecureServer`]: #http2_class_http2secureserver
[`http2.Server`]: #http2_class_http2server
[`http2.createSecureServer()`]: #http2_http2_createsecureserver_options_onrequesthandler