mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 21:13:08 +00:00
QUIC: use server ack_delay_exponent when sending ack.
Previously, client one was used.
This commit is contained in:
parent
b51d010029
commit
040a23bfc3
1 changed files with 1 additions and 1 deletions
|
|
@ -3173,7 +3173,7 @@ ngx_quic_send_ack(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx)
|
|||
|
||||
ack_delay = ngx_current_msec - ctx->largest_received;
|
||||
ack_delay *= 1000;
|
||||
ack_delay >>= qc->ctp.ack_delay_exponent;
|
||||
ack_delay >>= qc->tp.ack_delay_exponent;
|
||||
|
||||
frame = ngx_quic_alloc_frame(c);
|
||||
if (frame == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue