| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6553202 commit ca0080c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,20 +19,20 @@ namespace node::quic { | |||
| 19 | 19 | // | |
| 20 | 20 | // Each peer in a QUIC session generates one or more CIDs that the *other* | |
| 21 | 21 | // peer will use to identify the session. When a QUIC client initiates a | |
| 22 | - // brand new session, it will initially generates a CID of its own (its | ||
| 22 | + // brand new session, it will initially generate a CID of its own (its | ||
| 23 | 23 | // source CID) and a random placeholder CID for the server (the original | |
| 24 | 24 | // destination CID). When the server receives the initial packet, it will | |
| 25 | - // generate its own source CID and use the clients source CID as the | ||
| 25 | + // generate its own source CID and use the client's source CID as the | ||
| 26 | 26 | // server's destination CID. | |
| 27 | 27 | // | |
| 28 | 28 | // Client Server | |
| 29 | 29 | // ------------------------------------------- | |
| 30 | 30 | // Source CID <====> Destination CID | |
| 31 | 31 | // Destination CID <====> Source CID | |
| 32 | 32 | // | |
| 33 | - // While the connection is being established, it is possible for either | ||
| 34 | - // peer to generate additional CIDs that are also associated with the | ||
| 35 | - // connection. | ||
| 33 | + // While the connection is being established, or even while the connection | ||
| 34 | + // is active, it is possible for either peer to generate additional CIDs that | ||
| 35 | + // are also associated with the connection. | ||
| 36 | 36 | class CID final : public MemoryRetainer { | |
| 37 | 37 | public: | |
| 38 | 38 | static constexpr size_t kMinLength = NGTCP2_MIN_CIDLEN; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments