debug dumb

This commit is contained in:
MeexReay 2024-09-12 17:00:22 +03:00
parent dc4e6294da
commit 6d8d5b5fab

View File

@ -66,7 +66,7 @@ pub async fn handler_http_rrs<S: HttpServer + Send + 'static + Sync>(
.unwrap() .unwrap()
.collect::<Vec<SocketAddr>>()[0]; .collect::<Vec<SocketAddr>>()[0];
dbg!(addr); dbg!(&addr);
let req = match HttpRequest::read(sock.get_mut(), &addr).await { let req = match HttpRequest::read(sock.get_mut(), &addr).await {
Ok(i) => i, Ok(i) => i,
@ -76,7 +76,7 @@ pub async fn handler_http_rrs<S: HttpServer + Send + 'static + Sync>(
} }
}; };
dbg!(req); dbg!(&req);
let resp = match server.on_request(&req).await { let resp = match server.on_request(&req).await {
Some(i) => i, Some(i) => i,