Quantcast
Channel: sshnet Source Code Rss Feed
Viewing all articles
Browse latest Browse all 291

Source code checked in, #40794

$
0
0
Channel: * Improve robustness of channels by not letting an exception - that occurs while processing events signaled by session - up to session where this would cause the message loop to interrupt, and hence the SSH client would be disconnected. Instead, exceptions that are thrown during processing of session events are now signaled using a new Exception event. * Renamed RequestSuccessed event to RequestSucceeded, fixing a typo. ChannelDirectTcpip: * Interrupt blocking receive when forwarded port is closing allowing for a clean close of the channel. * Send SSH_MSG_CHANNEL_EOF to server when client quits sending data. ChannelForwardedTcpip: * Interrupt blocking receive when forwarded port is closing or when an error occurs in the session allowing for a clean close of the channel. ForwardedPortDynamic: * When stopping the port, signal all channels that the port is closing and wait for the channels to close. * Modify Start() and Stop() to throw ObjectDisposedException when instance is disposed. * Modify Dispose() to also interrupt blocking receive and wait for the channels to close. * Fixed IPv6 support for SOCKS5. * Signal exceptions in channels using the Exception event on the forwarded port. ForwardedPortLocal: * When stopping the port, signal all channels that the port is closing and wait for the channels to close. * Modify Start() and Stop() to throw ObjectDisposedException when instance is disposed. * Modify Dispose() to also interrupt blocking receive and wait for the channels to close. * Signal exceptions in channels using the Exception event on the forwarded port. ForwardedPortRemote: * When stopping the port, cancel the tcpip-forward, interrupt pending channels and for the channels to close. * Modify Start() and Stop() to throw ObjectDisposedException when instance is disposed. * Modify Dispose() to also cancel the tcpip-forward, interrupt pending channels and for the channels to close. * Signal exceptions in channels using the Exception event on the forwarded port. Overall: * Add huge set of unit tests for channels and forwarded ports.

Viewing all articles
Browse latest Browse all 291

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>