Merge branch 'benaadams/configure-awaits' into dev

This commit is contained in:
Stephen Halter 2015-08-11 12:34:53 -07:00
commit 688ad9bee7
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ namespace Kestrel
async frame => async frame =>
{ {
var request = new ServerRequest(frame); var request = new ServerRequest(frame);
await application.Invoke(request.Features); await application.Invoke(request.Features).ConfigureAwait(false);
})); }));
} }
disposables.Add(engine); disposables.Add(engine);

View File

@ -234,7 +234,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
Exception error = null; Exception error = null;
try try
{ {
await Application.Invoke(this); await Application.Invoke(this).ConfigureAwait(false);
} }
catch (Exception ex) catch (Exception ex)
{ {