From: Vladimir Homutov Date: Wed, 10 Jun 2020 18:23:10 +0000 (+0300) Subject: Fixed usage of own/client transport parameters. X-Git-Tag: release-1.25.0~4^2~679 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=d684a69c68705460121455e2fab0fe7726b62af3;p=nginx.git Fixed usage of own/client transport parameters. --- diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 0665e474b..11895d4e6 100644 --- 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, ngx_quic_send_ctx_t *ctx, 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;