Fix flaky MaxRequestBodySizeTest (#2092)

- Don't attempt to send any data after the request might already be rejected.
This commit is contained in:
Stephen Halter 2017-10-03 14:34:14 -07:00 committed by GitHub
parent 1b1137b880
commit 83e2084368
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
"Host:",
"Content-Length: 1",
"",
"A");
"");
await connection.ReceiveForcedEnd(
"HTTP/1.1 200 OK",
$"Date: {server.Context.DateHeaderValue}",