deps: update to ssh2 0.7.0
This commit is contained in:
1 parent
ee1c335703
commit
df58a12827
4 files changed
+74
-63
No files matched your search
@@ -42,12 +42,6 @@ impl std::fmt::Debug for SessionInner {
|
||||
}
|
||||
}
|
||||
|
||||
// This is actually safe because the unsafety is caused by the raw channel
|
||||
// pointers embedded in SshPty::channel. Those are only unsafe when used
|
||||
// with multiple threads. It is safe here because we ensure that all
|
||||
// accesses are made via SessionInner which is protected via a Mutex
|
||||
unsafe impl Send for SessionInner {}
|
||||
|
||||
/// The `SshSession` struct wraps an `ssh2::Session` instance.
|
||||
/// The session is expected to have been pre-connected and pre-authenticated
|
||||
/// by the calling the application.
|
||||
|
||||
Reference in new issue
Block a user