Skip to content

Commit

Permalink
http/2, increase stream window size to 10 MB
Browse files Browse the repository at this point in the history
- refs curl#11162
  • Loading branch information
icing committed May 20, 2023
1 parent a64d7de commit c4ae416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http2.c
Expand Up @@ -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 */
Expand Down

0 comments on commit c4ae416

Please sign in to comment.