diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-11-08 16:57:41 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-12-06 10:40:11 +0000 |
commit | 766603a9a5297c804e04a82e041097c404e0f24b (patch) | |
tree | d815d86a64ff0a62698544ed5c09523ea00e4f97 /include | |
parent | a35956b2f7749a8c7a199bdb416a02912d6e33e3 (diff) |
QUIC LCIDM: Correct documentation
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22673)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_lcidm.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/internal/quic_lcidm.h b/include/internal/quic_lcidm.h index e39f364717..e01ac80f9e 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. |