mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Fixed usage of own/client transport parameters.
This commit is contained in:
parent
7d8a64a862
commit
d684a69c68
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user