diff --git a/crates/net/src/handshake.rs b/crates/net/src/handshake.rs index 570ef59..2051b07 100644 --- a/crates/net/src/handshake.rs +++ b/crates/net/src/handshake.rs @@ -1,10 +1,6 @@ // SPDX-License-Identifier: AGPL-3.0-only //! Synvael application handshake over an established QUIC connection. -//! -//! Drives the `ClientHello` -> `HandshakeAck` / `HandshakeReject` exchange and protocol-version verification on the control stream (stream 0). The QUIC/TLS handshake is completed by the transport layer before any of these functions run; the exchange here is the Synvael application handshake layered on top of it. -//! -//! The control stream `(SendStream, RecvStream)` is retained inside the returned handles ([`Connected`], [`ServerConnection`]) and is never finished after the handshake, so later concepts can reuse stream 0 for chat, commands, and disconnect. use quinn::{Connection, Incoming, RecvStream, SendStream, VarInt}; use shared::protocol::{