diff --git a/TODO.md b/TODO.md index f6c33b5..95e7c25 100644 --- a/TODO.md +++ b/TODO.md @@ -4,6 +4,8 @@ * network * test tls! * handle tls certificate parse errors etc better + * parse once only + * exit with error message, not with panic * send/recv buffer size config * limit ws message sizes? * test diff --git a/aquatic_ws/src/lib/network/mod.rs b/aquatic_ws/src/lib/network/mod.rs index 03bc2fc..f3c7322 100644 --- a/aquatic_ws/src/lib/network/mod.rs +++ b/aquatic_ws/src/lib/network/mod.rs @@ -135,7 +135,6 @@ fn accept_new_streams( } - /// On the stream given by poll_token, get TLS (if requested) and tungstenite /// up and running, then read messages and pass on through channel. pub fn run_handshakes_and_read_messages(