.Result -> .GetAwaiter().GetResult()
This commit is contained in:
parent
55f6f21d5a
commit
0500043cc9
|
|
@ -50,7 +50,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
|
|||
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
return ReadAsync(buffer, offset, count).Result;
|
||||
return ReadAsync(buffer, offset, count).GetAwaiter().GetResult();
|
||||
}
|
||||
|
||||
#if NET451
|
||||
|
|
|
|||
Loading…
Reference in New Issue