mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
http2: increase stream window size to 10 MB
Reported-by: pandada8 on github Fixes #11162 Closes #11167
This commit is contained in:
parent
54ce13d3ff
commit
1886eef7fa
@ -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 */
|
||||
|
@ -49,7 +49,7 @@ User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
Connection: Upgrade, HTTP2-Settings
|
||||
Upgrade: %H2CVER
|
||||
HTTP2-Settings: AAMAAABkAAQACAAAAAIAAAAA
|
||||
HTTP2-Settings: AAMAAABkAAQAoAAAAAIAAAAA
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
Loading…
x
Reference in New Issue
Block a user