Reverted HTTPDownloader to be sync, until side effects can be researched

Was causing download failures, for some unknown reasons
This commit is contained in:
Justin Swanson 2019-12-15 18:48:12 -06:00
parent ff25be8551
commit 3f7d68b4a1

View File

@ -87,7 +87,9 @@ namespace Wabbajack.Lib.Downloaders
var bufferSize = 1024 * 32;
Utils.Status($"Starting Download {a?.Name ?? Url}", 0);
var response = await client.GetAsync(Url, HttpCompletionOption.ResponseHeadersRead);
var responseTask = client.GetAsync(Url, HttpCompletionOption.ResponseHeadersRead);
responseTask.Wait();
var response = await responseTask;
Stream stream;
try