Merge branch 'benaadams/result-getawaiter' into dev

This commit is contained in:
Stephen Halter 2015-11-12 16:05:50 -08:00
commit 9958427db7
1 changed files with 1 additions and 1 deletions

View File

@ -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