Merge branch 'benaadams/configure-awaits' into dev
This commit is contained in:
commit
688ad9bee7
|
|
@ -48,7 +48,7 @@ namespace Kestrel
|
|||
async frame =>
|
||||
{
|
||||
var request = new ServerRequest(frame);
|
||||
await application.Invoke(request.Features);
|
||||
await application.Invoke(request.Features).ConfigureAwait(false);
|
||||
}));
|
||||
}
|
||||
disposables.Add(engine);
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
|
|||
Exception error = null;
|
||||
try
|
||||
{
|
||||
await Application.Invoke(this);
|
||||
await Application.Invoke(this).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue