Add a Close construct to ChannelMsg in the server
[?]
Jan 19, 2021, 6:36 PM
YSLHJU3IKZNAYQJ6JTN2VN3KRXFO3OW4N2C3L2DAYNSJVYOI5OPQCDependencies
- [2]
7FRJYUI6Reboot because of a bad change
Change contents
- edit in thrussh/src/server/session.rs at line 54
.await.map_err(|_| ())}/// Close a channel.pub async fn close(&mut self, id: ChannelId) -> Result<(), ()> {self.sender.send((id, ChannelMsg::Close)) - edit in thrussh/src/server/mod.rs at line 546
Some((id, ChannelMsg::Close)) => {session.close(id);} - edit in thrussh/src/lib.rs at line 622
Close,