Ensure no data is written to a connection after uv_shutdown (#1600)
This commit is contained in:
parent
c7113e1c60
commit
f285b18f08
|
|
@ -61,6 +61,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Http
|
|||
{
|
||||
// Send a FIN
|
||||
await ShutdownAsync();
|
||||
// Ensure no data is written after uv_shutdown
|
||||
break;
|
||||
}
|
||||
|
||||
if (buffer.IsEmpty && result.IsCompleted)
|
||||
|
|
|
|||
Loading…
Reference in New Issue