-
-
Notifications
You must be signed in to change notification settings - Fork 940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Closed
event to ShellStream
.
#1332
Add Closed
event to ShellStream
.
#1332
Conversation
…event to detect if channel is closed by server **in time**.
Can you please link #44 in your description to close it with this PR? |
In our case, for some reason, the server may send channel close message to the client. As the client, we want to know this event in time and do some follow up work. |
I should search first. Anyway I'm not alone. Thanks! |
What's the use case here? Now that Read blocks until the channel is closed, can you just wait until Read returns 0? |
We don't call |
I think we can merge this PR. Fits the current SSH.NET architecture. |
Lib consumer could hook to this event to detect if channel is closed by server in time.
Closes #44