aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-18 22:50:41 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 22:58:13 +0200
commit4419f4a6a17cb3cd19434f2f3e826d285776227e (patch)
treebb213daf2faf891ea9a4ae24294a1b91493033c4
parent301d12a8d9f61ef6de9cb93c979c9c80c34a580b (diff)
WIP: FIX p2pHEADmaster
-rw-r--r--src/DirectConnection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DirectConnection.cpp b/src/DirectConnection.cpp
index 5cfafb7..6576264 100644
--- a/src/DirectConnection.cpp
+++ b/src/DirectConnection.cpp
@@ -297,6 +297,7 @@ namespace sibs
}
int socketId = socket->udtSocket;
+ rendezvous connection requires closing the connection and reusing it... read udt manual
Log::debug("DirectConnections: Connecting to %s peer (ip: %s, port: %d, rendezvous: %s, p2p: %s)", server ? "server" : "client",
address.getAddress().c_str(), address.getPort(), rendezvous ? "yes" : "no", options.useP2p ? "yes" : "no");