Merge branch 'benaadams/result-getawaiter' into dev
This commit is contained in:
commit
9958427db7
|
|
@ -50,7 +50,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
|
||||||
|
|
||||||
public override int Read(byte[] buffer, int offset, int count)
|
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
|
#if NET451
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue