Discard CDNClients instead of looping forever

pull/8/head
Ryan Kistner 11 years ago
parent 3b02d4d754
commit 289af06733

@ -774,16 +774,12 @@ namespace DepotDownloader
try
{
chunkData = client.DownloadDepotChunk(depot.id, data);
break;
cdnClients.Enqueue(client);
}
catch
{
Console.WriteLine("Encountered error downloading chunk {0}", chunkID);
}
finally
{
cdnClients.Enqueue(client);
}
}
if (chunkData == null)

Loading…
Cancel
Save