We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc9c637 commit a1e4e04Copy full SHA for a1e4e04
src/Renci.SshNet/Session.cs
@@ -1837,10 +1837,7 @@ private void SocketDisconnectAndDispose()
1837
// This may result in a SocketException (eg. An existing connection was forcibly
1838
// closed by the remote host) which we'll log and ignore as it means the socket
1839
// was already shut down.
1840
- //
1841
- // We use SocketShutdown.Both instead of SocketShutdown.Send as a workaround to a
1842
- // .NET Core issue on Linux & Mac OS X.
1843
- _socket.Shutdown(SocketShutdown.Both);
+ _socket.Shutdown(SocketShutdown.Send);
1844
}
1845
catch (SocketException ex)
1846
{
0 commit comments