diff options
| author | Vladimir Homutov <vl@nginx.com> | 2021-12-13 09:48:33 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2021-12-13 09:48:33 +0300 |
| commit | 10fd8be86d657839fbc6218891bfe9046ab5b592 (patch) | |
| tree | e791bd99093c559ca1dcd3a7e93510cf175dadad /src/event/quic/ngx_event_quic_connection.h | |
| parent | a31745499bcf35fac236bdc5f3d0d0a6d679b4e0 (diff) | |
| download | nginx-10fd8be86d657839fbc6218891bfe9046ab5b592.tar.gz nginx-10fd8be86d657839fbc6218891bfe9046ab5b592.tar.bz2 | |
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).
Diffstat (limited to 'src/event/quic/ngx_event_quic_connection.h')
| -rw-r--r-- | src/event/quic/ngx_event_quic_connection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_connection.h b/src/event/quic/ngx_event_quic_connection.h index 7b6afb123..73268ea0a 100644 --- 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; |
