aboutsummaryrefslogtreecommitdiff
path: root/src/web/web_server.rs
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-08 16:06:52 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-08 16:06:52 +0100
commit09137fd6b5ff30639addcac837bc1c6e6ff78fcf (patch)
tree0860625047c04e24a5907b2be5be4d5c5d89dff5 /src/web/web_server.rs
parentc78df603d7355563c9f726f97bf318273fc5bb83 (diff)
downloadgarage-09137fd6b5ff30639addcac837bc1c6e6ff78fcf.tar.gz
garage-09137fd6b5ff30639addcac837bc1c6e6ff78fcf.zip
Log host
Diffstat (limited to 'src/web/web_server.rs')
-rw-r--r--src/web/web_server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/web_server.rs b/src/web/web_server.rs
index ce1f7ee1..a712a5bd 100644
--- a/src/web/web_server.rs
+++ b/src/web/web_server.rs
@@ -52,8 +52,8 @@ async fn handler(
info!("authority is {}", authority);
// Get HTTP domain/ip from host
- //let domain = host.to_socket_
-
+ let host = authority_to_host(authority)?;
+ info!("host is {}", host);
Ok(Response::new(Body::from("hello world\n")))
}