1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-03 02:03:53 +00:00
This commit is contained in:
Bernd Schoolmann
2025-10-17 09:09:16 +02:00
parent fa6e86faa8
commit eebdc0232a

View File

@@ -54,7 +54,6 @@ async fn handle_connection(
) -> Result<(), anyhow::Error> {
loop {
let span = tracing::info_span!("Connection", connection_id = connection.id());
span.in_scope(|| info!("Waiting for request"));
let request = match stream.read_message().await {
Ok(request) => request,
@@ -122,13 +121,11 @@ async fn handle_connection(
info!(
"Bound connection {} to host {:?}",
connection.id(),
connection.host_name()
connection.host_name().unwrap_or(&"".to_string())
);
Ok(ReplyFrame::from(AgentSuccess::new()))
}
}?;
span.in_scope(|| info!("Sending response"));
stream.write_reply(&response).await?;
}
Ok(())