comparison 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
comparison
equal deleted inserted replaced
8939:ddd5e5c0f87d 8940:fb41e37ddeb0
83 struct ngx_quic_path_s { 83 struct ngx_quic_path_s {
84 ngx_queue_t queue; 84 ngx_queue_t queue;
85 struct sockaddr *sockaddr; 85 struct sockaddr *sockaddr;
86 socklen_t socklen; 86 socklen_t socklen;
87 ngx_uint_t state; 87 ngx_uint_t state;
88 ngx_uint_t limited; /* unsigned limited:1; */
88 ngx_msec_t expires; 89 ngx_msec_t expires;
89 ngx_msec_t last_seen; 90 ngx_msec_t last_seen;
90 ngx_uint_t tries; 91 ngx_uint_t tries;
91 off_t sent; 92 off_t sent;
92 off_t received; 93 off_t received;