Remove (non-working) SSL tracker support

This commit is contained in:
grimsi
2025-06-12 10:09:33 +02:00
parent 60c83487dd
commit d3759b8865
@@ -59,13 +59,6 @@ class TorrentDownloadPlugin(wrapper: PluginWrapper) : ConfigurableGameyfinPlugin
type = String::class.java,
isRequired = false
),
ConfigMetadata(
key = "trackerSsl",
label = "Use SSL for tracker",
description = "Enables use of SSL for the torrent tracker",
type = Boolean::class.java,
default = false
),
ConfigMetadata(
key = "privateMode",
label = "Create torrents with private mode enabled",
@@ -137,7 +130,7 @@ class TorrentDownloadPlugin(wrapper: PluginWrapper) : ConfigurableGameyfinPlugin
}
private fun getTrackerUri(): URI {
val protocol = if (config("trackerSsl")) "https" else "http"
val protocol = "http" // No SSL support in ttorrent: https://github.com/mpetazzoni/ttorrent/issues/4
val host = getHostname().getCanonicalHostName()
val port = config<Int>("trackerPort")
val path = "announce"