]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ngtcp2: enlarge H3_SEND_SIZE
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Sun, 10 Apr 2022 21:08:30 +0000 (23:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 10 Apr 2022 21:08:33 +0000 (23:08 +0200)
Make h3_SEND_SIZE larger because current value (20KiB) is too small
for the high latency environment.

Closes #8690

lib/vquic/ngtcp2.c

index 9dd4fa21476a03b82008e0818d16f937a7d7f205..a58cf7f079977bb3d4bb9a9236c34b5fe8230e10 100644 (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 */