You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Session is closed but I got Session error: early eof error. Seems like you are using tokio read_exact, passing buffer, and when read_exact can not read exact number of bytes to fill entire buffer it returns eof error and this library just forwards this error to client code.
I'm trying to close ssh session after client sends EOF, using this sequence:
Session is closed but I got
Session error: early eof
error. Seems like you are using tokio read_exact, passing buffer, and when read_exact can not read exact number of bytes to fill entire buffer it returns eof error and this library just forwards this error to client code.I don't know is it a bug or feature, but in my opinion this library should handle https://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html#variant.UnexpectedEof error and shutdown session gracefully.
The text was updated successfully, but these errors were encountered: