Prevent IOException from incorrectly failing test expecting 400 response

This commit is contained in:
Stephen Halter 2016-06-01 15:58:46 -07:00
parent 6e36bbe32c
commit 9667907515
1 changed files with 1 additions and 1 deletions

View File

@ -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",
"",