Prevent IOException from incorrectly failing test expecting 400 response
This commit is contained in:
parent
6e36bbe32c
commit
9667907515
|
|
@ -144,7 +144,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests
|
|||
await connection.Receive(
|
||||
"Connection: close",
|
||||
"");
|
||||
await connection.ReceiveEnd(
|
||||
await connection.ReceiveForcedEnd(
|
||||
$"Date: {connection.Server.Context.DateHeaderValue}",
|
||||
"Content-Length: 0",
|
||||
"",
|
||||
|
|
|
|||
Loading…
Reference in New Issue