remove mutex and use tokio::sync::watch for cert service

This commit is contained in:
Jun Kurihara 2022-07-08 14:51:11 +09:00
commit 19b9f2a609
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
5 changed files with 88 additions and 95 deletions

View file

@ -218,7 +218,7 @@ fn generate_request_forwarded<B: core::fmt::Debug>(
remove_hop_header(headers);
// X-Forwarded-For
add_forwarding_header(headers, client_addr)?;
println!("{:?}", headers);
// println!("{:?}", headers);
// Add te: trailer if te_trailer
if te_trailers {