feat(server): log negotiated cipher suite after handshake

This commit is contained in:
2026-02-05 13:09:56 +02:00
parent 46bc7960c1
commit d235a5d2c7
3 changed files with 18 additions and 15 deletions

View File

@@ -165,6 +165,9 @@ async fn run_iteration(
.await
.map_err(|e| miette!("TLS handshake failed: {e}"))?;
let (_, conn) = tls_stream.get_ref();
info!(cipher = ?conn.negotiated_cipher_suite(), "connection established");
let handshake_ns = start.elapsed().as_nanos() as u64;
write_request(&mut tls_stream, u64::from(payload_bytes))