ngtcp2: enlarge H3_SEND_SIZE

Make h3_SEND_SIZE larger because current value (20KiB) is too small
for the high latency environment.

Closes #8690
This commit is contained in:
Tatsuhiro Tsujikawa 2022-04-10 23:08:30 +02:00 committed by Daniel Stenberg
parent 990bfdd7bc
commit f15beb6f30
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -73,7 +73,7 @@
* the far end, then start over at index 0 again.
*/
#define H3_SEND_SIZE (20*1024)
#define H3_SEND_SIZE (256*1024)
struct h3out {
uint8_t buf[H3_SEND_SIZE];
size_t used; /* number of bytes used in the buffer */