diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-12 19:18:31 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-12 19:18:31 +0200 |
commit | c788fc9f9e2c9128ea0dd5f28c1bafe8ba3b369c (patch) | |
tree | 30c9e34b979bd8d38ef93e8371a4fea087556e72 /src/rpc_client.rs | |
parent | d2814b5c3374f8b99a81dbb9fa3614c875cfc5e6 (diff) | |
download | garage-c788fc9f9e2c9128ea0dd5f28c1bafe8ba3b369c.tar.gz garage-c788fc9f9e2c9128ea0dd5f28c1bafe8ba3b369c.zip |
Cleanup
Diffstat (limited to 'src/rpc_client.rs')
-rw-r--r-- | src/rpc_client.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rpc_client.rs b/src/rpc_client.rs index 255eb958..6f897a90 100644 --- a/src/rpc_client.rs +++ b/src/rpc_client.rs @@ -109,7 +109,6 @@ impl RpcClient { } config.set_single_client_cert([&node_certs[..], &ca_certs[..]].concat(), node_key)?; - // config.dangerous().set_certificate_verifier(Arc::new(tls_util::NoHostnameCertVerifier)); let connector = tls_util::HttpsConnectorFixedDnsname::<HttpConnector>::new(config, "garage"); @@ -143,7 +142,7 @@ impl RpcClient { let resp = tokio::time::timeout(timeout, resp_fut) .await? .map_err(|e| { - eprintln!("RPC client error: {}", e); + eprintln!("RPC HTTP client error when connecting to {}: {}", to_addr, e); e })?; |