# HG changeset patch # User Vladimir Homutov # Date 1591813390 -10800 # Node ID 6fec79e436947f75f932a3eda51158aa3e7985f4 # Parent 8fc9fcf18608df2f8275e0921c2a08d0d0caa308 Fixed usage of own/client transport parameters. diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -3058,7 +3058,7 @@ ngx_quic_output(ngx_connection_t *c) } if (!qc->retransmit.timer_set && !qc->closing) { - ngx_add_timer(&qc->retransmit, qc->tp.max_ack_delay); + ngx_add_timer(&qc->retransmit, qc->ctp.max_ack_delay); } return NGX_OK; @@ -3414,7 +3414,7 @@ ngx_quic_retransmit(ngx_connection_t *c, do { start = ngx_queue_data(q, ngx_quic_frame_t, queue); - wait = start->last + qc->tp.max_ack_delay - now; + wait = start->last + qc->ctp.max_ack_delay - now; if ((ngx_msec_int_t) wait > 0) { break;