From a233d3cc28b9ac466287b6d2623ba74c044cbef1 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 11 Nov 2018 20:36:06 +0100 Subject: [PATCH] actually fix the issue with the second tracker announce with port 0 --- src/torrent.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/torrent.cpp b/src/torrent.cpp index fc6f18aef..1f88ae49f 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -3722,6 +3722,9 @@ namespace { req.private_torrent = m_torrent_file->priv(); req.second_announce = true; +#ifdef TORRENT_USE_OPENSSL + req.ssl_ctx = NULL; +#endif // tell the tracker to bind to the opposite protocol type req.bind_ip = tracker_ip.is_v4()