1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-11 14:08:07 -05:00

ngtcp2: adapt to API change

Closes #4457
This commit is contained in:
Daniel Stenberg 2019-10-03 23:08:45 +02:00
parent 249541f12f
commit b902b0632d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -140,13 +140,13 @@ static void quic_settings(ngtcp2_settings *s,
s->log_printf = NULL; s->log_printf = NULL;
#endif #endif
s->initial_ts = timestamp(); s->initial_ts = timestamp();
s->max_stream_data_bidi_local = stream_buffer_size; s->transport_params.initial_max_stream_data_bidi_local = stream_buffer_size;
s->max_stream_data_bidi_remote = QUIC_MAX_STREAMS; s->transport_params.initial_max_stream_data_bidi_remote = QUIC_MAX_STREAMS;
s->max_stream_data_uni = QUIC_MAX_STREAMS; s->transport_params.initial_max_stream_data_uni = QUIC_MAX_STREAMS;
s->max_data = QUIC_MAX_DATA; s->transport_params.initial_max_data = QUIC_MAX_DATA;
s->max_streams_bidi = 1; s->transport_params.initial_max_streams_bidi = 1;
s->max_streams_uni = 3; s->transport_params.initial_max_streams_uni = 3;
s->idle_timeout = QUIC_IDLE_TIMEOUT; s->transport_params.idle_timeout = QUIC_IDLE_TIMEOUT;
} }
static FILE *keylog_file; /* not thread-safe */ static FILE *keylog_file; /* not thread-safe */