]> git.kaiwu.me - nginx.git/commit
QUIC: shared a zero-length client connection id between paths
authorVadim Zhestikov <v.zhestikov@f5.com>
Fri, 6 Nov 2026 21:42:48 +0000 (13:42 -0800)
committerSergey Kandaurov <pluknet@nginx.com>
Fri, 27 Nov 2026 14:30:38 +0000 (18:30 +0400)
commitffb1810fd8ad2e855314f33bfa025005bb687d2d
tree518a1630e37ce23f5def197ae5a61b51dfea64d8
parentfa2a49a47d3fff7cc7eb7b78307008caa50250dc
QUIC: shared a zero-length client connection id between paths

A client that selected a zero-length connection id during the handshake
cannot issue new connection ids, and a zero-length Destination
Connection ID field is used in all packets sent toward such an endpoint
over any network path, see RFC 9000, 5.1.1.  Instead, a new path was
required to have its own client id, so every packet from a new client
address was dropped with "no available client ids for new path" until
the idle timeout.  This affected clients using zero-length connection
ids, such as Chrome, OpenSSL and msquic, on any change of address or
port, including NAT rebinding.

Now the zero-length client id is used on any path and is never retired,
since RETIRE_CONNECTION_ID cannot be sent for it, see RFC 9000, 19.16.

The problem appeared in c4f5b50c4 (1.25.0).
src/event/quic/ngx_event_quic_connid.c
src/event/quic/ngx_event_quic_migration.c