]> git.kaiwu.me - nginx.git/commit
QUIC: fixed using of retired connection id (ticket #2289).
authorVladimir Homutov <vl@nginx.com>
Thu, 2 Dec 2021 11:09:52 +0000 (14:09 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 2 Dec 2021 11:09:52 +0000 (14:09 +0300)
commitea55dbccb248629628baad2b85d7634c82b613ec
tree14c769eb418d0601670e0e77ff2a8fcc4d761f30
parente6949057ea3fcdd6f0d1559e11e9163c48a311a0
QUIC: fixed using of retired connection id (ticket #2289).

RFC 9000 19.16
 The sequence number specified in a RETIRE_CONNECTION_ID frame MUST NOT
 refer to the Destination Connection ID field of the packet in which the
 frame is contained.

Before the patch, the RETIRE_CONNECTION_ID frame was sent before switching
to the new client id.  If retired client id was currently in use, this lead
to violation of the spec.
src/event/quic/ngx_event_quic_connid.c