Change NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS

The previous value 100 is non-standard, and if it is not sent with
SETTINGS, session will be closed with protocol error.
This commit is contained in:
Tatsuhiro Tsujikawa 2013-08-03 18:05:53 +09:00
parent 737ac01d91
commit ea5a1b60cf
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ typedef enum {
* @macro
* Default maximum concurrent streams.
*/
#define NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS 100
#define NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS ((1U << 31) - 1)
/**
* @enum