Fix Socket.ReceiveFrom on Unix (#46151)
authorAnton Firszov <Anton.Firszov@microsoft.com>
Wed, 6 Jan 2021 12:22:48 +0000 (13:22 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Jan 2021 12:22:48 +0000 (13:22 +0100)
commitc06f3c4760d49d69b28abca0d7530b47e627c021
treede74ea134cb52b9a8106f394ae866ba2de8e7848
parentdd3da2b5e8d4655414f8b6fbe3a97fbe0f8ee8af
Fix Socket.ReceiveFrom on Unix (#46151)

Fix a regression within the sync-over-async blocking path within the Unix ReceiveFrom implementation.
src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncContext.Unix.cs
src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceive.cs
src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive/SendReceiveNonParallel.cs
src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketTestHelper.cs