diff --git a/src/health.rs b/src/health.rs index 83cfbc3..82fc7eb 100644 --- a/src/health.rs +++ b/src/health.rs @@ -26,7 +26,7 @@ pub async fn check(db: &mut BoxyDatabase) { continue; } }; - + let io = TokioIo::new(stream); let (mut sender, conn) = hyper::client::conn::http1::handshake(io).await.unwrap(); diff --git a/src/services.rs b/src/services.rs index 381d0dc..a2b6a6c 100644 --- a/src/services.rs +++ b/src/services.rs @@ -1,3 +1,3 @@ pub mod controller; -pub mod proxy; pub mod matcher; +pub mod proxy;