Fix flaky MaxRequestBodySizeTest (#2092)
- Don't attempt to send any data after the request might already be rejected.
This commit is contained in:
parent
1b1137b880
commit
83e2084368
|
|
@ -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}",
|
||||
|
|
|
|||
Loading…
Reference in New Issue