diff options
author | ZYSzys <zyszys98@gmail.com> | 2019-10-03 23:07:42 +0800 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-10-05 23:51:03 +0800 |
commit | f0bee9b490e55ae93da1d1f8a485a4a432e61575 (patch) | |
tree | b96d6599cbe718f73538d729ed0a85b36c08f24d /doc | |
parent | 24011de9071fcd092fab29719d3fa8269a95288a (diff) | |
download | android-node-v8-f0bee9b490e55ae93da1d1f8a485a4a432e61575.tar.gz android-node-v8-f0bee9b490e55ae93da1d1f8a485a4a432e61575.tar.bz2 android-node-v8-f0bee9b490e55ae93da1d1f8a485a4a432e61575.zip |
http2: set default maxConcurrentStreams
Set the default maxConcurrentStreams to
NGHTTP2_DEFAULT_MAX_CONCURRENT_STREAMS.
PR-URL: https://github.com/nodejs/node/pull/29833
Fixes: https://github.com/nodejs/node/issues/29763
Refs: https://github.com/nghttp2/nghttp2/commit/16c46114dc724278beaa6d59462f8396f35fa4a9
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http2.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index 03d3ff21a8..d2837019bb 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2356,6 +2356,9 @@ server.on('stream', (stream, headers) => { <!-- YAML added: v8.4.0 changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/29833 + description: The `maxConcurrentStreams` setting is stricter. - version: v8.9.3 pr-url: https://github.com/nodejs/node/pull/16676 description: The `maxHeaderListSize` setting is now strictly enforced. @@ -2381,9 +2384,10 @@ properties. is 2<sup>24</sup>-1. **Default:** `16,384 bytes`. * `maxConcurrentStreams` {number} Specifies the maximum number of concurrent streams permitted on an `Http2Session`. There is no default value which - implies, at least theoretically, 2<sup>31</sup>-1 streams may be open + implies, at least theoretically, 2<sup>32</sup>-1 streams may be open concurrently at any given time in an `Http2Session`. The minimum value - is 0. The maximum allowed value is 2<sup>31</sup>-1. + is 0. The maximum allowed value is 2<sup>32</sup>-1. **Default:** + `4294967295`. * `maxHeaderListSize` {number} Specifies the maximum size (uncompressed octets) of header list that will be accepted. The minimum allowed value is 0. The maximum allowed value is 2<sup>32</sup>-1. **Default:** `65535`. |