Source code checked in, #40796
Immediately exit Bind when the client socket has shut down. The SSH_MSG_CHANNEL_EOF message is now only sent from Close(bool), and we now only ever wait for an SSH_MSG_CHANNEL_CLOSE message once the...
View ArticleSource code checked in, #40798
Improve robustness of client channel by not letting an exception - that occurs while processing events signaled by session - bubble up to the session where this would cause the message loop to...
View ArticleSource code checked in, #40802
Added simple ServiceFactory to allow unit testing of SshClient. When disposing SshClient, make sure to stop forwarded ports before the session is closed.
View ArticleSource code checked in, #40805
Remove redundant this qualifiers. Change SubsystemSession._operationTimeout into a read-only OperationTimeout property. FlagsAttribute is used as a bit field, so mark it as such.
View ArticleSource code checked in, #40819
Channel: * Only send SSH_MSG_CHANNEL_EOF message to remote party when we haven't received a SSH_MSG_CHANNEL_EOF or SSH_MSG_CHANNEL_CLOSE message from the remote party. * Move logic for sending...
View ArticleSource code checked in, #40821
Removed redundant this qualified. Changed accessibility of _blockSize to private.
View ArticleSource code checked in, #40826
Create output buffer after padding to ensure its length matches the padded length. Fixes issue #2547.
View ArticleSource code checked in, #40844
Use Socket.Shutdown(SocketShutdown.Send) to signal FIN to remove party, and allow socket to close in a clean way.
View ArticleSource code checked in, #40897
Added internal ctor to ScpClient that takes an IServiceFactory to allow for mocking of PipeStream. Added missing read (and check) of the returncode after a file copy command. Fixes issue #1382.
View Article