Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_connection.h @ 8940:fb41e37ddeb0 quic
QUIC: decoupled path state and limitation status.
The path validation status and anti-amplification limit status is actually
two different variables. It is possible that validating path should not
be limited (for example, when re-validating former path).
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 13 Dec 2021 09:48:33 +0300 |
parents | ddd5e5c0f87d |
children | fb811b6c76ee |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_connection.h +++ b/src/event/quic/ngx_event_quic_connection.h @@ -85,6 +85,7 @@ struct ngx_quic_path_s { struct sockaddr *sockaddr; socklen_t socklen; ngx_uint_t state; + ngx_uint_t limited; /* unsigned limited:1; */ ngx_msec_t expires; ngx_msec_t last_seen; ngx_uint_t tries;