Skip to content

Commit

Permalink
server/session.rs: typo
Browse files Browse the repository at this point in the history
Pretty sure this should be "client" since we are the server in this module.
  • Loading branch information
samuela authored and Eugeny committed Feb 3, 2024
1 parent 44a2392 commit c7f6c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion russh/src/server/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ impl Session {
}
() = &mut keepalive_timer => {
if self.common.config.keepalive_max != 0 && self.common.alive_timeouts > self.common.config.keepalive_max {
debug!("Timeout, server not responding to keepalives");
debug!("Timeout, client not responding to keepalives");
break
}
self.common.alive_timeouts = self.common.alive_timeouts.saturating_add(1);
Expand Down

0 comments on commit c7f6c5b

Please sign in to comment.