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 fff4bea commit 47819caCopy full SHA for 47819ca
ddcommon/src/hyper_migration.rs
@@ -20,15 +20,15 @@ use hyper::Request as HyperRequest;
20
pub fn new_client_periodic() -> HttpClient {
21
hyper_util::client::legacy::Client::builder(hyper_util::rt::TokioExecutor::default())
22
.pool_max_idle_per_host(0)
23
- .build(Connector::new())
+ .build(Connector::default())
24
}
25
26
/// Create a new default configuration hyper client.
27
///
28
/// It will keep connections open for a longer time and reuse them.
29
pub fn new_default_client() -> HttpClient {
30
31
32
33
34
pub type HttpResponse = hyper::Response<Body>;
0 commit comments