diff options
author | metamuffin <metamuffin@disroot.org> | 2023-02-24 20:10:56 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-02-24 20:10:56 +0100 |
commit | 86ef22584a93f26c77c50b5d7e0a113b354749b9 (patch) | |
tree | 1d348a64f0bae402b56c64658502b1d58513356c | |
parent | 39db90b392135d841a5e17f06fad49ad995296aa (diff) | |
download | gnix-86ef22584a93f26c77c50b5d7e0a113b354749b9.tar gnix-86ef22584a93f26c77c50b5d7e0a113b354749b9.tar.bz2 gnix-86ef22584a93f26c77c50b5d7e0a113b354749b9.tar.zst |
remove debug print
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 980dd36..3e912f9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -59,6 +59,7 @@ async fn serve_http(config: Arc<Config>) -> Result<()> { tokio::spawn(async move { serve_stream(config, stream, addr).await }); } } + async fn serve_https(config: Arc<Config>) -> Result<()> { let https_config = match &config.https { Some(n) => n, @@ -167,7 +168,6 @@ async fn service( }?; let server_header = resp.headers().get(SERVER).cloned(); - eprintln!(" {server_header:?}"); resp.headers_mut().insert( SERVER, HeaderValue::from_str(&if let Some(o) = server_header { |