From 355f3e04c691725a7af45330339fe15e78208108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Tue, 19 Jul 2022 17:01:07 +0200 Subject: [PATCH] Update ws code comments; update TODO.md --- TODO.md | 3 +++ aquatic_ws/src/workers/socket.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 5396993..1cc19ae 100644 --- a/TODO.md +++ b/TODO.md @@ -2,6 +2,9 @@ ## High priority +* ws + * add integration test for non-TLS configuration, maybe behind reverse proxy + ## Medium priority * quit whole program if any thread panics diff --git a/aquatic_ws/src/workers/socket.rs b/aquatic_ws/src/workers/socket.rs index 14ba2bb..fdfd5a9 100644 --- a/aquatic_ws/src/workers/socket.rs +++ b/aquatic_ws/src/workers/socket.rs @@ -292,7 +292,7 @@ async fn run_connection( .await } else { // Implementing this over TLS is too cumbersome, since the crate used - // for TLS streams doesn't support peak and tungstenite doesn't + // for TLS streams doesn't support peek and tungstenite doesn't // properly support sending a HTTP error response in accept_hdr // callback. if config.network.enable_http_health_checks {