From 4332b429a9a46ce5b0bdcfa70cd220f1f2c5a7b2 Mon Sep 17 00:00:00 2001 From: open-trade Date: Fri, 18 Sep 2020 17:27:23 +0800 Subject: [PATCH] no reuse addr --- src/rendezvous_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendezvous_server.rs b/src/rendezvous_server.rs index 310b212..75e2545 100644 --- a/src/rendezvous_server.rs +++ b/src/rendezvous_server.rs @@ -147,7 +147,7 @@ impl RendezvousServer { serial, rendezvous_servers, }; - let mut listener = new_listener(addr, true).await?; + let mut listener = new_listener(addr, false).await?; loop { tokio::select! { Some((msg, addr)) = rx.recv() => {