Skip to content

Commit

Permalink
delete some unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Feb 14, 2025
1 parent 679e77d commit 600f423
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions iroh-relay/src/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,13 +382,6 @@ mod tests {
let socket =
tokio::net::UdpSocket::bind(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)).await?;
let server_addr = socket.local_addr()?;
// let socket = socket2::Socket::new(
// socket2::Domain::IPV4,
// socket2::Type::DGRAM,
// Some(socket2::Protocol::UDP),
// )?;
// socket.bind(&SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0).into())?;
// let server_addr = socket.local_addr()?.as_socket().context("AF_INET")?;
info!(addr = ?server_addr, "server socket bound");

// Create a QAD server with a self-signed cert, all manually.
Expand Down

0 comments on commit 600f423

Please sign in to comment.