Remove the CDN authentication call

pull/277/head DepotDownloader_2.4.5
Ryan Kistner 4 years ago
parent 8b4dcc2339
commit 2c038fd038

@ -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);
}

@ -4,7 +4,7 @@
<TargetFramework>net5.0</TargetFramework>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Version>2.4.3</Version>
<Version>2.4.5</Version>
<Description>Steam Downloading Utility</Description>
<Authors>SteamRE Team</Authors>
<Copyright>Copyright © SteamRE Team 2021</Copyright>

Loading…
Cancel
Save