From 56822a831f566d45fa2482d121bb310065edd61c Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Tue, 11 Mar 2025 23:31:12 +0200 Subject: [PATCH] Return server when timing out as broken connection --- DepotDownloader/ContentDownloader.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 1925703f..ad1f9dc5 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -1229,6 +1229,7 @@ namespace DepotDownloader catch (TaskCanceledException) { Console.WriteLine("Connection timeout downloading chunk {0}", chunkID); + cdnPool.ReturnBrokenConnection(connection); } catch (SteamKitWebRequestException e) {