Return server when timing out as broken connection

pull/610/head
Pavel Djundik 6 months ago
parent 001f5303a7
commit 56822a831f

@ -1229,6 +1229,7 @@ namespace DepotDownloader
catch (TaskCanceledException) catch (TaskCanceledException)
{ {
Console.WriteLine("Connection timeout downloading chunk {0}", chunkID); Console.WriteLine("Connection timeout downloading chunk {0}", chunkID);
cdnPool.ReturnBrokenConnection(connection);
} }
catch (SteamKitWebRequestException e) catch (SteamKitWebRequestException e)
{ {

Loading…
Cancel
Save