update comment

This commit is contained in:
yggverse 2024-11-30 04:32:51 +02:00
parent 8618b31570
commit 653960c1ab

View file

@ -67,6 +67,7 @@ impl Connection {
/// Request force handshake for `Self` connection /// Request force handshake for `Self` connection
/// * useful for certificate change in runtime /// * useful for certificate change in runtime
/// * support guest and user sessions
pub fn rehandshake(&self) -> Result<(), Error> { pub fn rehandshake(&self) -> Result<(), Error> {
match self.tls_client_connection()?.handshake(Cancellable::NONE) { match self.tls_client_connection()?.handshake(Cancellable::NONE) {
// @TODO shared `Cancellable` // @TODO shared `Cancellable`