summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-01-29 15:56:16 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-01-29 15:56:16 +0100
commit2f439496ca4703aa69ee0647daf6d04daa60fe3f (patch)
tree81e3b1a1a78cee4532728a0cf0e9507e7c81942d
parent0a7b7a9d401fddd5bcde6801b1813794a2744766 (diff)
downloadcurl-bagder/ngtcp2-draft25.tar.gz
ngtcp2: update to git master and its draft-25 supportbagder/ngtcp2-draft25
-rw-r--r--lib/vquic/ngtcp2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index a2111882a..764f95778 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -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 */
};
/*