Signal the reader after aborting the connection (#1636)
- This will give it a chance to unwind gracefully before failing with an invalid request. Fixes #1632
This commit is contained in:
parent
27584dc620
commit
0fd885e5eb
|
|
@ -217,8 +217,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal
|
|||
|
||||
if (!normalRead)
|
||||
{
|
||||
Input.Complete(error);
|
||||
var ignore = AbortAsync(error);
|
||||
|
||||
// Complete after aborting the connection
|
||||
Input.Complete(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue