diff options
author | ZYSzys <zyszys98@gmail.com> | 2019-10-03 18:07:42 +0300 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-10-05 18:51:03 +0300 |
commit | f0bee9b490e55ae93da1d1f8a485a4a432e61575 (patch) | |
tree | b96d6599cbe718f73538d729ed0a85b36c08f24d /src/node_http2.h | |
parent | 24011de9071fcd092fab29719d3fa8269a95288a (diff) |
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 'src/node_http2.h')
-rw-r--r-- | src/node_http2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_http2.h b/src/node_http2.h index db85dc6e5a8..94be1b03416 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -40,6 +40,7 @@ using performance::PerformanceEntry; // These are the standard HTTP/2 defaults as specified by the RFC #define DEFAULT_SETTINGS_HEADER_TABLE_SIZE 4096 #define DEFAULT_SETTINGS_ENABLE_PUSH 1 +#define DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS 0xffffffffu #define DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE 65535 #define DEFAULT_SETTINGS_MAX_FRAME_SIZE 16384 #define DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE 65535 |