mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-19 15:51:50 +00:00
Actually flag off new CDNClient features
This commit is contained in:
1 parent
618090e23d
commit
729d4cdc61
1 file changed
+6
@@ -18,7 +18,9 @@ namespace DepotDownloader
|
||||
|
||||
private readonly Steam3Session steamSession;
|
||||
private readonly uint appId;
|
||||
#if STEAMKIT_UNRELEASED
|
||||
private CDNClient.Server proxyServer;
|
||||
#endif
|
||||
|
||||
public CDNClient CDNClient { get; }
|
||||
|
||||
@@ -52,7 +54,11 @@ namespace DepotDownloader
|
||||
{
|
||||
this.steamSession = steamSession;
|
||||
this.appId = appId;
|
||||
#if STEAMKIT_UNRELEASED
|
||||
CDNClient = new CDNClient(steamSession.steamClient, TransformCdnClientRequest);
|
||||
#else
|
||||
CDNClient = new CDNClient(steamSession.steamClient);
|
||||
#endif
|
||||
|
||||
activeConnectionPool = new ConcurrentStack<CDNClient.Server>();
|
||||
availableServerEndpoints = new BlockingCollection<CDNClient.Server>();
|
||||
|
||||
Reference in new issue
Block a user