Silence CONNECT tunnel logging in capture output
This commit is contained in:
parent
ead31529a4
commit
3de8bf1f80
1 changed files with 0 additions and 3 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue