From 2322521a53f8db557f1a11a298ec4c5f0ce9b400 Mon Sep 17 00:00:00 2001 From: hatoo Date: Wed, 30 Oct 2024 17:13:13 +0900 Subject: [PATCH] clean --- README.md | 2 +- examples/proxy.rs | 2 +- src/default_client.rs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6cc66f9..79e542a 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ async fn main() { let (res, upgrade) = client.send_request(req).await?; - // println!("{} -> {}", uri, res.status()); + println!("{} -> {}", uri, res.status()); if let Some(upgrade) = upgrade { // If the response is an upgrade, e.g. Websocket, you can see traffic. // Modifying upgraded traffic is not supported yet. diff --git a/examples/proxy.rs b/examples/proxy.rs index e488b03..4fc639b 100644 --- a/examples/proxy.rs +++ b/examples/proxy.rs @@ -89,7 +89,7 @@ async fn main() { let (res, upgrade) = client.send_request(req).await?; - // println!("{} -> {}", uri, res.status()); + println!("{} -> {}", uri, res.status()); if let Some(upgrade) = upgrade { // If the response is an upgrade, e.g. Websocket, you can see traffic. // Modifying upgraded traffic is not supported yet. diff --git a/src/default_client.rs b/src/default_client.rs index 8047ec6..3fdb59f 100644 --- a/src/default_client.rs +++ b/src/default_client.rs @@ -337,7 +337,6 @@ pub mod websocket { None }; - dbg!(payload_len); let mut payload_data = take(payload_len).parse_next(input)?.to_vec(); if let Some(mask) = masking_key {