Fix RCS1257, RCS1258, RCS1261, RCS1262, RCS1265, RCS1266, RCS1267
This commit is contained in:
committed by
Gustas Kažukauskas
parent
a324af1afd
commit
1b2c119b58
@@ -26,7 +26,7 @@ namespace OpenRA
|
||||
var total = response.Content.Headers.ContentLength ?? -1;
|
||||
var canReportProgress = total > 0;
|
||||
|
||||
using (var contentStream = await response.Content.ReadAsStreamAsync(token))
|
||||
await using (var contentStream = await response.Content.ReadAsStreamAsync(token))
|
||||
{
|
||||
var totalRead = 0L;
|
||||
var buffer = new byte[8192];
|
||||
|
||||
Reference in New Issue
Block a user