We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee731a8 commit 613cad3Copy full SHA for 613cad3
crates/extensions/tedge-p11-server/src/main.rs
@@ -99,6 +99,7 @@ async fn main() -> anyhow::Result<()> {
99
}
100
};
101
info!(listener = ?listener.local_addr().as_ref().ok().and_then(|s| s.as_pathname()), "Server listening");
102
+ listener.set_nonblocking(true)?;
103
let listener = tokio::net::UnixListener::from_std(listener)?;
104
let server = TedgeP11Server::from_config(cryptoki_config)?;
105
tokio::spawn(async move { server.serve(listener).await });
0 commit comments