]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http2: increase stream window size to 10 MB
authorStefan Eissing <stefan@eissing.org>
Sat, 20 May 2023 16:11:12 +0000 (18:11 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 20 May 2023 21:05:07 +0000 (23:05 +0200)
Reported-by: pandada8 on github
Fixes #11162
Closes #11167

lib/http2.c
tests/data/test1800

index 4e3b182b8d815d66a3ecdf2f65d9ef0aa30dd575..0ebe630abee047ff578a5ff6cbd2078ee283986e 100644 (file)
@@ -68,7 +68,7 @@
  * use 16K as chunk size, as that fits H2 DATA frames well */
 #define H2_CHUNK_SIZE           (16 * 1024)
 /* this is how much we want "in flight" for a stream */
-#define H2_STREAM_WINDOW_SIZE   (512 * 1024)
+#define H2_STREAM_WINDOW_SIZE   (10 * 1024 * 1024)
 /* on receving from TLS, we prep for holding a full stream window */
 #define H2_NW_RECV_CHUNKS       (H2_STREAM_WINDOW_SIZE / H2_CHUNK_SIZE)
 /* on send into TLS, we just want to accumulate small frames */
index 6b14bfb37a682469c684d6ef369782ef3dd63f0c..1f4472d9a10e0cb8c8080afaac382a3c65ecc001 100644 (file)
@@ -49,7 +49,7 @@ User-Agent: curl/%VERSION
 Accept: */*\r
 Connection: Upgrade, HTTP2-Settings\r
 Upgrade: %H2CVER\r
-HTTP2-Settings: AAMAAABkAAQACAAAAAIAAAAA\r
+HTTP2-Settings: AAMAAABkAAQAoAAAAAIAAAAA\r
 \r
 </protocol>
 </verify>