mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #16245 - nox:ssl, r=avadacatavra
Don't share the SSL client between the private and public groups <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16245) <!-- Reviewable:end -->
This commit is contained in:
commit
e8ed3e0b7f
1 changed files with 3 additions and 2 deletions
|
@ -114,10 +114,11 @@ fn create_resource_groups(config_dir: Option<&Path>)
|
|||
ssl_client: ssl_client.clone(),
|
||||
connector: create_http_connector(ssl_client.clone()),
|
||||
};
|
||||
let private_ssl_client = create_ssl_client("certs");
|
||||
let private_resource_group = ResourceGroup {
|
||||
http_state: Arc::new(HttpState::new()),
|
||||
ssl_client: ssl_client.clone(),
|
||||
connector: create_http_connector(ssl_client),
|
||||
ssl_client: private_ssl_client.clone(),
|
||||
connector: create_http_connector(private_ssl_client),
|
||||
};
|
||||
(resource_group, private_resource_group)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue