Commit
Author: Kevin Schoon [me@kevinschoon.com]
Hash: 3c52c3a1f28249050fdf7dcae29906efc734c8c3
Timestamp: Wed, 09 Oct 2024 10:54:31 +0000 (2 months ago)

+2 -2 +/-1 browse
fix regression in session
1diff --git a/maitred/src/server.rs b/maitred/src/server.rs
2index 2977285..8653187 100644
3--- a/maitred/src/server.rs
4+++ b/maitred/src/server.rs
5 @@ -424,14 +424,14 @@ impl Server {
6 let tls_framed = Arc::new(Mutex::new(tls_framed));
7 // Per the RFC after TLS is established the session is
8 // reset.
9- let mut tls_session = session.clone().tls_active(true);
10+ let mut session = session.clone().tls_active(true);
11 loop {
12 match self
13 .on_frame(
14 Tls {
15 inner: tls_framed.clone(),
16 },
17- &mut tls_session,
18+ &mut session,
19 )
20 .await?
21 {