Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit 83e2084

Browse files
authored
Fix flaky MaxRequestBodySizeTest (#2092)
- Don't attempt to send any data after the request might already be rejected.
1 parent 1b1137b commit 83e2084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Kestrel.FunctionalTests/MaxRequestBodySizeTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ await connection.Send(
153153
"Host:",
154154
"Content-Length: 1",
155155
"",
156-
"A");
156+
"");
157157
await connection.ReceiveForcedEnd(
158158
"HTTP/1.1 200 OK",
159159
$"Date: {server.Context.DateHeaderValue}",

0 commit comments

Comments
 (0)