]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
h2: allow 100 streams by default
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 Apr 2021 15:51:19 +0000 (17:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Apr 2021 20:47:34 +0000 (22:47 +0200)
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

lib/http2.h

index 150f7219f0b4cd442460bb85369f917a3f9c8538..114b38271845da73fcff66783dda4baf743e9de6 100644 (file)
@@ -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