summaryrefslogtreecommitdiffstats
path: root/include/internal/quic_lcidm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/internal/quic_lcidm.h')
-rw-r--r--include/internal/quic_lcidm.h11
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.