summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-04-05 17:51:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-04-05 22:47:34 +0200
commit00b89ec641289e5ee8422daf44a77cde5791f01d (patch)
treeb4df1b72774397c2d356e61f784d28934d34d4ba
parent6d930d730600771f15ab048a123f253ce4751786 (diff)
downloadcurl-00b89ec641289e5ee8422daf44a77cde5791f01d.tar.gz
h2: allow 100 streams by default
instead of 13, before the server has told how many streams it accepts. The server can always reject new streams anyway if we go above what it accepts. Ref: #6826 Closes #6852
-rw-r--r--lib/http2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.h b/lib/http2.h
index 150f7219f..114b38271 100644
--- a/lib/http2.h
+++ b/lib/http2.h
@@ -29,7 +29,7 @@
/* value for MAX_CONCURRENT_STREAMS we use until we get an updated setting
from the peer */
-#define DEFAULT_MAX_CONCURRENT_STREAMS 13
+#define DEFAULT_MAX_CONCURRENT_STREAMS 100
/*
* Store nghttp2 version info in this buffer, Prefix with a space. Return