mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Fixed time comparison.
This commit is contained in:
parent
5ccda6882e
commit
6f7477f6c6
@ -3262,7 +3262,7 @@ ngx_quic_retransmit(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx,
|
||||
do {
|
||||
f = ngx_queue_data(q, ngx_quic_frame_t, queue);
|
||||
|
||||
if (start->first + qc->tp.max_idle_timeout < now) {
|
||||
if (now - start->first > qc->tp.max_idle_timeout) {
|
||||
ngx_log_error(NGX_LOG_ERR, c->log, 0,
|
||||
"quic retransmission timeout");
|
||||
return NGX_DECLINED;
|
||||
|
Loading…
Reference in New Issue
Block a user