This commit is contained in:
zonyitoo
2022-06-24 09:56:38 +08:00
parent 1efb02ee6b
commit cab8d0fa2b
3 changed files with 3 additions and 3 deletions

View File

@@ -355,7 +355,7 @@ impl DecryptedReader {
return Err(ProtocolError::InvalidClientUser(Bytes::copy_from_slice(user_hash))).into();
}
Some(user) => {
trace!("user {} choosen by EIH", user.name());
trace!("user {} chosen by EIH", user.name());
self.user_key = Some(Bytes::copy_from_slice(user.key()));
TcpCipher::new(self.method, user.key(), salt)
}

View File

@@ -380,7 +380,7 @@ fn decrypt_message(
return Err(ProtocolError::InvalidClientUser(Bytes::copy_from_slice(&eih)));
}
Some(user) => {
trace!("user {} choosen by EIH", user.name());
trace!("user {} chosen by EIH", user.name());
get_cipher(method, user.key(), session_id)
}
}

2
debian/changelog vendored
View File

@@ -80,7 +80,7 @@ shadowsocks-rust (1.13.0) unstable; urgency=medium
## Features
- #706 `balancer.check_best_interval` could let ping balancer to ping only the choosen best server in this interval
- #706 `balancer.check_best_interval` could let ping balancer to ping only the chosen best server in this interval
- Recommended: Set a shorter interval in `balancer.check_best_interval` than `balancer.check_interval` to check much frequently the best server.
- `balancer.check_interval` controls the interval of checking all the available servers
- When server start, the "check best" strategy starts after it receives enough data for estimating all servers' scores