Merge branch 'benaadams/req-delegate' into dev
This commit is contained in:
commit
bb2c17a779
|
|
@ -254,7 +254,13 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
|
||||||
if (!_requestProcessingStarted)
|
if (!_requestProcessingStarted)
|
||||||
{
|
{
|
||||||
_requestProcessingStarted = true;
|
_requestProcessingStarted = true;
|
||||||
_requestProcessingTask = Task.Run(RequestProcessingAsync);
|
_requestProcessingTask =
|
||||||
|
Task.Factory.StartNew(
|
||||||
|
(o) => ((Frame)o).RequestProcessingAsync(),
|
||||||
|
this,
|
||||||
|
CancellationToken.None,
|
||||||
|
TaskCreationOptions.DenyChildAttach,
|
||||||
|
TaskScheduler.Default);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue