From 729d4cdc615d60b8c45cf2caa6cb822f7f00181d Mon Sep 17 00:00:00 2001 From: Ryan Kistner Date: Thu, 5 Nov 2020 22:21:01 -0700 Subject: [PATCH] Actually flag off new CDNClient features --- DepotDownloader/CDNClientPool.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DepotDownloader/CDNClientPool.cs b/DepotDownloader/CDNClientPool.cs index b55b3376..1a35533c 100644 --- a/DepotDownloader/CDNClientPool.cs +++ b/DepotDownloader/CDNClientPool.cs @@ -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(); availableServerEndpoints = new BlockingCollection();