Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
xlmnxp committed Aug 14, 2024
1 parent de1f673 commit ec09018
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/services/https.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ pub async fn handle_connection(client: TcpStream, port: u16) -> Option<()> {
let mut last_buf_read_len = client.peek(&mut buf).await.expect("peek failed");

loop {
println!("buf length: {}", buf.len());
if let Some(sni_string) = get_sni_from_packet(buf.clone()).await {
let resolved_address: Result<std::net::IpAddr, io::Error> =
resolve_addr(&sni_string).await;
Expand Down

0 comments on commit ec09018

Please sign in to comment.