diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-18 22:50:41 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 22:50:41 +0200 |
commit | 53895206e3e0b28d51049a547c11ae4b4609a38a (patch) | |
tree | bb213daf2faf891ea9a4ae24294a1b91493033c4 | |
parent | 80465cbcd051e7a8f18aa1b6c557f4c8cca1077b (diff) |
WIP: FIX p2p
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | src/DirectConnection.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -Copyright 2019 Aleksi Lindeman +Copyright 2019 dec05eba Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. 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"); |