From dc4e6294dab6959ea6bd846d088a656048f82f23 Mon Sep 17 00:00:00 2001 From: MeexReay Date: Thu, 12 Sep 2024 16:59:10 +0300 Subject: [PATCH] debug --- src/ezhttp/handler.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ezhttp/handler.rs b/src/ezhttp/handler.rs index 4c8e8c3..b654475 100644 --- a/src/ezhttp/handler.rs +++ b/src/ezhttp/handler.rs @@ -66,6 +66,8 @@ pub async fn handler_http_rrs( .unwrap() .collect::>()[0]; + dbg!(addr); + let req = match HttpRequest::read(sock.get_mut(), &addr).await { Ok(i) => i, Err(e) => { @@ -74,6 +76,8 @@ pub async fn handler_http_rrs( } }; + dbg!(req); + let resp = match server.on_request(&req).await { Some(i) => i, None => {