1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 20:12:58 +01:00

remove default reuse_addr

This commit is contained in:
fakeshadow 2021-02-24 02:26:11 +08:00
parent 17f711a9d6
commit a6e79453d0

View File

@ -191,8 +191,6 @@ async fn connect(addr: SocketAddr, local_addr: Option<IpAddr>) -> io::Result<Tcp
}
};
socket.set_reuseaddr(true)?;
socket.connect(addr).await
}