summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_migration.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2023-07-06 17:49:01 +0400
committerRoman Arutyunyan <arut@nginx.com>2023-07-06 17:49:01 +0400
commit3990aaaa5557d334f731dcc8f04273a0c45feee3 (patch)
tree0abab964975af40cc72f1d541fcf88b3c2719187 /src/event/quic/ngx_event_quic_migration.c
parent4f3707c5c775ac83a0cf005617e1fdffd027b8a4 (diff)
downloadnginx-3990aaaa5557d334f731dcc8f04273a0c45feee3.tar.gz
nginx-3990aaaa5557d334f731dcc8f04273a0c45feee3.tar.bz2
QUIC: removed path->limited flag.
Its value is the opposite of path->validated.
Diffstat (limited to 'src/event/quic/ngx_event_quic_migration.c')
-rw-r--r--src/event/quic/ngx_event_quic_migration.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/event/quic/ngx_event_quic_migration.c b/src/event/quic/ngx_event_quic_migration.c
index cf0438fbc..ca821f8b4 100644
--- a/src/event/quic/ngx_event_quic_migration.c
+++ b/src/event/quic/ngx_event_quic_migration.c
@@ -168,7 +168,6 @@ valid:
path->validated = 1;
path->validating = 0;
- path->limited = 0;
ngx_quic_set_path_timer(c);
@@ -208,8 +207,6 @@ ngx_quic_new_path(ngx_connection_t *c,
path->cid = cid;
cid->used = 1;
- path->limited = 1;
-
path->seqnum = qc->path_seqnum++;
path->sockaddr = &path->sa.sockaddr;
@@ -665,7 +662,6 @@ ngx_quic_path_validation_handler(ngx_event_t *ev)
path->validated = 0;
path->validating = 0;
- path->limited = 1;
/* RFC 9000, 9.3.2. On-Path Address Spoofing