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
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ public async Task ConnectAsync_WithBuffer_Succeeds()
Assert.Equal(SocketError.Success, saea.SocketError);
Assert.True(client.Blocking);

// On macOS, TFO (connectx) may complete the connect+send in a single
// On Apple platforms, TFO (connectx) may complete the connect+send in a single
// syscall, so the socket can end up blocking even on the async path.
// On Linux, async connect always leaves the socket non-blocking when
// buffer > 0 because SendToAsync is pending.
if (!completedAsync || OperatingSystem.IsMacOS())
if (!completedAsync || PlatformDetection.IsApplePlatform)
{
Assert.False(IsSocketNonBlocking(client));
}
Expand Down
Loading