Return server when timing out as broken connection

This commit is contained in:
Pavel Djundik committed 2025-03-11 23:31:12 +02:00
1 parent 001f5303a7
commit 56822a831f
1 file changed
+1
+1
View File
@@ -1229,6 +1229,7 @@ namespace DepotDownloader
catch (TaskCanceledException)
{
Console.WriteLine("Connection timeout downloading chunk {0}", chunkID);
cdnPool.ReturnBrokenConnection(connection);
}
catch (SteamKitWebRequestException e)
{