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_socket.c | |
| 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_socket.c')
| -rw-r--r-- | src/event/quic/ngx_event_quic_socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_socket.c b/src/event/quic/ngx_event_quic_socket.c index 2b9b0fed3..a04ad6202 100644 --- a/src/event/quic/ngx_event_quic_socket.c +++ b/src/event/quic/ngx_event_quic_socket.c @@ -82,6 +82,7 @@ ngx_quic_open_sockets(ngx_connection_t *c, ngx_quic_connection_t *qc, if (pkt->validated) { path->state = NGX_QUIC_PATH_VALIDATED; + path->limited = 0; } /* now bind socket to client and path */ |
