aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_udp_sendmsg_chain.c
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2022-01-19 22:39:24 +0300
committerVladimir Homutov <vl@nginx.com>2022-01-19 22:39:24 +0300
commit8a4a267d74fa31e4693691a1a8788b0773329481 (patch)
tree9977ce66a227ef0369b9e5e6541b175b70c892e4 /src/os/unix/ngx_udp_sendmsg_chain.c
parent1f97aa71ecaa75dfd646495a13534b10405b500c (diff)
downloadnginx-8a4a267d74fa31e4693691a1a8788b0773329481.tar.gz
nginx-8a4a267d74fa31e4693691a1a8788b0773329481.zip
QUIC: reworked migration handling.
The quic connection now holds active, backup and probe paths instead of sockets. The number of migration paths is now limited and cannot be inflated by a bad client or an attacker. The client id is now associated with path rather than socket. This allows to simplify processing of output and connection ids handling. New migration abandons any previously started migrations. This allows to free consumed client ids and request new for use in future migrations and make progress in case when connection id limit is hit during migration. A path now can be revalidated without losing its state. The patch also fixes various issues with NAT rebinding case handling: - paths are now validated (previously, there was no validation and paths were left in limited state) - attempt to reuse id on different path is now again verified (this was broken in 40445fc7c403) - former path is now validated in case of apparent migration
Diffstat (limited to 'src/os/unix/ngx_udp_sendmsg_chain.c')
0 files changed, 0 insertions, 0 deletions