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 3eec5eb commit cc05033Copy full SHA for cc05033
sqlx-core/src/net/tls/tls_native_tls.rs
@@ -62,6 +62,8 @@ pub async fn handshake<S: Socket>(
62
builder.identity(identity);
63
}
64
65
+ // The openssl TlsConnector synchronously loads certificates from files.
66
+ // Loading these files can block for tens of milliseconds.
67
let connector = rt::spawn_blocking(move || builder.build())
68
.await
69
.map_err(Error::tls)?;
0 commit comments