make sure duplicate socket is not inheritable
authorAnton Firszov <Anton.Firszov@microsoft.com>
Fri, 24 Jan 2020 16:42:24 +0000 (17:42 +0100)
committerAnton Firszov <Anton.Firszov@microsoft.com>
Mon, 27 Jan 2020 14:27:40 +0000 (15:27 +0100)
commit54df6d9791a879f91faf9f77eab315dd7d158f17
treea4161553e174524f76850e82ed51bf09dc1c1515
parent3d801cc0e436d5de22c1543de6fa8e156abebc5e
make sure duplicate socket is not inheritable
src/libraries/Common/src/Interop/Windows/Kernel32/Interop.HandleInformation.cs [new file with mode: 0644]
src/libraries/Common/src/Interop/Windows/WinSock/Interop.WSADuplicateSocket.cs
src/libraries/System.Net.Sockets/src/System.Net.Sockets.csproj
src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketPal.Windows.cs
src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketDuplicationTests.cs