Merge branch 'benaadams/configure-awaits' into dev
This commit is contained in:
commit
688ad9bee7
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue