From: Hugo Landau Date: Wed, 8 Nov 2023 16:57:41 +0000 (+0000) Subject: QUIC LCIDM: Correct documentation X-Git-Tag: openssl-3.3.0-alpha1~521 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=766603a9a5297c804e04a82e041097c404e0f24b;p=thirdparty%2Fopenssl.git QUIC LCIDM: Correct documentation Reviewed-by: Neil Horman Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/22673) --- diff --git a/include/internal/quic_lcidm.h b/include/internal/quic_lcidm.h index e39f3647175..e01ac80f9e7 100644 --- a/include/internal/quic_lcidm.h +++ b/include/internal/quic_lcidm.h @@ -34,7 +34,7 @@ * LCIDs fall into three categories: * * 1. A client's Initial ODCID (1) - * 2. A server's Initial SCID (1) + * 2. Our local Initial SCID (1) * 3. A CID issued via a NEW_CONNECTION_ID frame (n) * 4. A server's Retry SCID (0..1) * @@ -44,10 +44,11 @@ * ODCID. There is never more than one of these, and no sequence number is * associated with this temporary LCID. * - * (2) is created when a server responds to a new connection request, and is - * generated by the server as the preferred DCID for traffic directed towards - * it. A client should switch to using this as soon as it receives a valid - * packet from the server. This LCID has a sequence number of 0. + * (2) is created by a client when it begins connecting, or by a server when it + * responds to a new connection request. In the latter case, it is generated by + * the server as the preferred DCID for traffic directed towards it. A client + * should switch to using this as a RCID as soon as it receives a valid packet + * from the server. This LCID has a sequence number of 0. * * (3) is created when we issue a NEW_CONNECTION_ID frame. Arbitrarily many of * these can exist.