-
-
Notifications
You must be signed in to change notification settings - Fork 525
Closed
Description
I was looking at the certificate example at the quinn docs and realized it was not up to date.
It shows that client configuration is done with following code:
fn configure_client() -> ClientConfig {
let crypto = rustls::ClientConfig::builder()
.with_safe_defaults()
.with_custom_certificate_verifier(SkipServerVerification::new())
.with_no_client_auth();
ClientConfig::new(Arc::new(crypto))
}but this only works before this commit, when QuicClientConfig was not yet introduced.
Other example code in the docs might be outdated too although I haven't tried them all.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels