From b902b0632d82945636d53bec325645540c4926a6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 3 Oct 2019 23:08:45 +0200 Subject: ngtcp2: adapt to API change Closes #4457 --- lib/vquic/ngtcp2.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index aa4e7305b..29a84d1c3 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -140,13 +140,13 @@ static void quic_settings(ngtcp2_settings *s, s->log_printf = NULL; #endif s->initial_ts = timestamp(); - s->max_stream_data_bidi_local = stream_buffer_size; - s->max_stream_data_bidi_remote = QUIC_MAX_STREAMS; - s->max_stream_data_uni = QUIC_MAX_STREAMS; - s->max_data = QUIC_MAX_DATA; - s->max_streams_bidi = 1; - s->max_streams_uni = 3; - s->idle_timeout = QUIC_IDLE_TIMEOUT; + s->transport_params.initial_max_stream_data_bidi_local = stream_buffer_size; + s->transport_params.initial_max_stream_data_bidi_remote = QUIC_MAX_STREAMS; + s->transport_params.initial_max_stream_data_uni = QUIC_MAX_STREAMS; + 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; } static FILE *keylog_file; /* not thread-safe */ -- cgit v1.2.3