diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-08 13:28:07 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-08 13:28:07 +0100 |
commit | c49b2075a30460a319ce53da300e4943d45d5add (patch) | |
tree | 2c9e146b89873f1b79e2a7397c567e1e82299b34 /src/https.rs | |
parent | 35b46e64e7c9a176aeadb5815a609847bb237bb3 (diff) | |
download | tricot-c49b2075a30460a319ce53da300e4943d45d5add.tar.gz tricot-c49b2075a30460a319ce53da300e4943d45d5add.zip |
Try to fix things
Diffstat (limited to 'src/https.rs')
-rw-r--r-- | src/https.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/https.rs b/src/https.rs index ae737d9..33b8030 100644 --- a/src/https.rs +++ b/src/https.rs @@ -117,6 +117,7 @@ async fn handle( let to_addr = format!("http://{}", proxy_to.target_addr); info!("Proxying {} {} -> {}", host, path, to_addr); + trace!("Request: {:?}", req); let mut response = reverse_proxy::call(remote_addr.ip(), &to_addr, req).await?; @@ -126,6 +127,7 @@ async fn handle( HeaderValue::from_str(value)?, ); } + trace!("Response: {:?}", response); Ok(response) } else { |