mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-03-15 03:26:03 +01:00
improvements and fixes
This commit is contained in:
parent
4c3f0a97aa
commit
7696484f0b
4 changed files with 28 additions and 5 deletions
|
|
@ -87,6 +87,7 @@ async fn handle_connection(
|
|||
.await
|
||||
.wrap_err("reading from connection")?;
|
||||
if read == 0 {
|
||||
info!("Did not read any bytes from TCP stream, EOF");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
|
@ -100,6 +101,7 @@ async fn handle_connection(
|
|||
return Err(err);
|
||||
}
|
||||
SshStatus::Disconnect => {
|
||||
info!("Received disconnect from client");
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue