aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */