Silence CONNECT tunnel logging in capture output

This commit is contained in:
Jan-Peter von Hunnius 2026-08-22 10:34:06 +02:00
parent ead31529a4
commit 3de8bf1f80

View file

@ -185,9 +185,6 @@ impl HttpHandler for CaptureHandler {
let host = request_host(&request).to_lowercase(); let host = request_host(&request).to_lowercase();
if request.method() == http::Method::CONNECT { if request.method() == http::Method::CONNECT {
if !is_noise_host(&host) {
println!(" CONNECT {host}");
}
return request.into(); return request.into();
} }