]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ngtcp2: update to git master and its draft-25 support
authorDaniel Stenberg <daniel@haxx.se>
Wed, 29 Jan 2020 14:56:16 +0000 (15:56 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 29 Jan 2020 21:21:19 +0000 (22:21 +0100)
Closes #4865

lib/vquic/ngtcp2.c

index a2111882ab5b608dc19748d14d3685ceb64afa98..764f95778c1d802d3824044f7869a8753e86c2bb 100644 (file)
@@ -146,7 +146,7 @@ static void quic_settings(ngtcp2_settings *s,
   s->transport_params.initial_max_data = QUIC_MAX_DATA;
   s->transport_params.initial_max_streams_bidi = 1;
   s->transport_params.initial_max_streams_uni = 3;
-  s->transport_params.idle_timeout = QUIC_IDLE_TIMEOUT;
+  s->transport_params.max_idle_timeout = QUIC_IDLE_TIMEOUT;
 }
 
 static FILE *keylog_file; /* not thread-safe */
@@ -535,6 +535,8 @@ static ngtcp2_conn_callbacks ng_callbacks = {
   NULL, /* extend_max_remote_streams_bidi */
   NULL, /* extend_max_remote_streams_uni */
   cb_extend_max_stream_data,
+  NULL, /* dcid_status */
+  NULL  /* handshake_confirmed */
 };
 
 /*