mirror of
https://github.com/kristoferssolo/tls-pq-bench.git
synced 2026-03-22 00:36:21 +00:00
feat(server): log negotiated cipher suite after handshake
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user