From 2c038fd038342c570e5371e091d76f2ec9c86cd9 Mon Sep 17 00:00:00 2001 From: Ryan Kistner Date: Wed, 6 Oct 2021 12:43:24 -0600 Subject: [PATCH] Remove the CDN authentication call --- DepotDownloader/ContentDownloader.cs | 10 ++-------- DepotDownloader/DepotDownloader.csproj | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index f2fe0e8d..c9b2d358 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -837,12 +837,9 @@ namespace DepotDownloader { connection = cdnPool.GetConnection(cts.Token); - DebugLog.WriteLine("ContentDownloader", "Authenticating connection to {0}", connection); - var cdnToken = await cdnPool.AuthenticateConnection(appId, depot.id, connection); - DebugLog.WriteLine("ContentDownloader", "Downloading manifest {0} from {1} with {2}", depot.manifestId, connection, cdnPool.ProxyServer != null ? cdnPool.ProxyServer : "no proxy"); depotManifest = await cdnPool.CDNClient.DownloadManifestAsync(depot.id, depot.manifestId, - connection, cdnToken, depot.depotKey, proxyServer: cdnPool.ProxyServer).ConfigureAwait(false); + connection, null, depot.depotKey, proxyServer: cdnPool.ProxyServer).ConfigureAwait(false); cdnPool.ReturnConnection(connection); } @@ -1238,12 +1235,9 @@ namespace DepotDownloader { connection = cdnPool.GetConnection(cts.Token); - DebugLog.WriteLine("ContentDownloader", "Authenticating connection to {0}", connection); - var cdnToken = await cdnPool.AuthenticateConnection(appId, depot.id, connection); - DebugLog.WriteLine("ContentDownloader", "Downloading chunk {0} from {1} with {2}", chunkID, connection, cdnPool.ProxyServer != null ? cdnPool.ProxyServer : "no proxy"); chunkData = await cdnPool.CDNClient.DownloadDepotChunkAsync(depot.id, data, - connection, cdnToken, depot.depotKey, proxyServer: cdnPool.ProxyServer).ConfigureAwait(false); + connection, null, depot.depotKey, proxyServer: cdnPool.ProxyServer).ConfigureAwait(false); cdnPool.ReturnConnection(connection); } diff --git a/DepotDownloader/DepotDownloader.csproj b/DepotDownloader/DepotDownloader.csproj index a5f4e912..a0713f34 100644 --- a/DepotDownloader/DepotDownloader.csproj +++ b/DepotDownloader/DepotDownloader.csproj @@ -4,7 +4,7 @@ net5.0 true - 2.4.3 + 2.4.5 Steam Downloading Utility SteamRE Team Copyright © SteamRE Team 2021