Update readme

This commit is contained in:
Σrebe - Romain GERARD 2024-01-08 13:23:00 +01:00
parent ade9a19315
commit 57e03a1e4c
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4
2 changed files with 3 additions and 9 deletions

View file

@ -196,12 +196,6 @@ pub async fn run_server(
bind: SocketAddr,
timeout: Option<Duration>,
) -> Result<impl Stream<Item = io::Result<Socks5UdpStream>>, anyhow::Error> {
info!(
"Starting SOCKS5 UDP server listening cnx on {} with cnx timeout of {}s",
bind,
timeout.unwrap_or(Duration::from_secs(0)).as_secs()
);
let listener = UdpSocket::bind(bind)
.await
.with_context(|| format!("Cannot create UDP server {:?}", bind))?;