Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Do not test sockets handler fix on WinHttpHandler.
  • Loading branch information
ManickaP committed Jul 29, 2020
commit 185b6e0caec882ad520b8dc8e1853aa268312f4c
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@ await server.AcceptConnectionAsync(async connection =>
[Fact]
public async Task SendAsync_Expect100Continue_RequestBodyFails_ThrowsContentException()
{
if (IsWinHttpHandler && UseVersion >= HttpVersion20.Value)
if (IsWinHttpHandler)
{
return;
}
Expand All @@ -2137,7 +2137,7 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
HttpRequestMessage initialMessage = new HttpRequestMessage(HttpMethod.Post, uri) { Version = UseVersion };
initialMessage.Content = new ThrowingContent(() => new ThrowingContentException());
initialMessage.Headers.ExpectContinue = true;
Exception exception = await Assert.ThrowsAsync<ThrowingContentException>(() => client.SendAsync(TestAsync, initialMessage));
await Assert.ThrowsAsync<ThrowingContentException>(() => client.SendAsync(TestAsync, initialMessage));

clientFinished.SetResult(true);
}
Expand Down