summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_connid.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-19QUIC: reworked migration handling.Vladimir Homutov1-3/+2
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
2021-05-05QUIC: simplified sending 1-RTT only frames.Sergey Kandaurov1-2/+2
2021-05-05QUIC: relaxed client id requirements.Vladimir Homutov1-0/+2
Client IDs cannot be reused on different paths. This change allows to reuse client id previosly seen on the same path (but with different dcid) in case when no unused client IDs are available.
2021-04-29QUIC: connection migration.Vladimir Homutov1-5/+8
The patch adds proper transitions between multiple networking addresses that can be used by a single quic connection. New networking paths are validated using PATH_CHALLENGE/PATH_RESPONSE frames.
2021-04-13QUIC: separate files for connection id related processing.Vladimir Homutov1-0/+25