提交 fe44127c 编写于 作者: S Stephen Toub

Merge pull request dotnet/corefx#9119 from stephentoub/fix_httpstress

Fix HttpClientMiniStressTests tests

Commit migrated from https://github.com/dotnet/corefx/commit/8bba8b289e8f3c37931c999ba83da8f5d8d9efe1
......@@ -213,9 +213,9 @@ public async Task UnreadResponseMessage_Collectible()
$"HTTP/1.1 200 OK\r\n" +
$"Date: {DateTimeOffset.UtcNow:R}\r\n" +
"Content-Type: text/plain\r\n" +
"Content-Length: {asciiBody.Length}\r\n" +
$"Content-Length: {asciiBody.Length}\r\n" +
"\r\n" +
"{asciiBody}\r\n";
$"{asciiBody}\r\n";
private static Task ForCountAsync(int count, int dop, Func<int, Task> bodyAsync)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册