Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_output.c @ 9144:bba136612fe4
QUIC: removed path->limited flag.
Its value is the opposite of path->validated.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 06 Jul 2023 17:49:01 +0400 |
parents | 48691bab4474 |
children | 93aee926d27f |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_output.c +++ b/src/event/quic/ngx_event_quic_output.c @@ -281,7 +281,7 @@ ngx_quic_allow_segmentation(ngx_connecti return 0; } - if (qc->path->limited) { + if (!qc->path->validated) { /* don't even try to be faster on non-validated paths */ return 0; } @@ -1275,7 +1275,7 @@ ngx_quic_path_limit(ngx_connection_t *c, { off_t max; - if (path->limited) { + if (!path->validated) { max = path->received * 3; max = (path->sent >= max) ? 0 : max - path->sent;