Skip to content

Commit

Permalink
QUIC LCIDM: Correct documentation
Browse files Browse the repository at this point in the history
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
  • Loading branch information
hlandau authored and fly2x committed Dec 7, 2023
1 parent 36408ab commit 1acd878
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions include/internal/quic_lcidm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*
Expand All @@ -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.
Expand Down

0 comments on commit 1acd878

Please sign in to comment.