mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 17:07:01 +02:00
only build SslConnectorBuilder
once (#2503)
This commit is contained in:
@@ -121,7 +121,7 @@ async fn test_start_ssl() {
|
||||
let client = awc::Client::builder()
|
||||
.connector(
|
||||
awc::Connector::new()
|
||||
.ssl(builder.build())
|
||||
.openssl(builder.build())
|
||||
.timeout(Duration::from_millis(100)),
|
||||
)
|
||||
.finish();
|
||||
|
Reference in New Issue
Block a user