changeset 8430:6fec79e43694 quic

Fixed usage of own/client transport parameters.
author Vladimir Homutov <vl@nginx.com>
date Wed, 10 Jun 2020 21:23:10 +0300
parents 8fc9fcf18608
children 70335ec6e5d4
files src/event/ngx_event_quic.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;