aboutsummaryrefslogtreecommitdiff
path: root/lib/vquic/ngtcp2.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-10-03 23:08:45 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-10-04 10:31:36 +0200
commitb902b0632d82945636d53bec325645540c4926a6 (patch)
tree444b60ad02a916c57dcca3985c6aadae93d2fc75 /lib/vquic/ngtcp2.c
parent249541f12f1b03559faa4f96861fc4e6725e3f16 (diff)
ngtcp2: adapt to API change
Closes #4457
Diffstat (limited to 'lib/vquic/ngtcp2.c')
-rw-r--r--lib/vquic/ngtcp2.c14
1 files 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 */