mirror of https://github.com/fafhrd91/actix-net
fix actix-tls changelog
This commit is contained in:
parent
874e5f2e50
commit
47e1a879d7
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Unreleased - 2021-xx-xx
|
## Unreleased - 2021-xx-xx
|
||||||
* Remove `trust-dns-proto` and `trust-dns-resolver` [#248]
|
* Remove `trust-dns-proto` and `trust-dns-resolver` [#248]
|
||||||
* Use `tokio::net::lookup_host` as simple and basic default resolver [#248]
|
* Use `std::net::ToSocketAddrs::to_socket_addrs` as simple and basic default resolver [#248]
|
||||||
* Add `Resolve` trait for custom dns resolver. [#248]
|
* Add `Resolve` trait for custom dns resolver. [#248]
|
||||||
* Add `Resolver::new_custom` function to construct custom resolvers. [#248]
|
* Add `Resolver::new_custom` function to construct custom resolvers. [#248]
|
||||||
* Export `webpki_roots::TLS_SERVER_ROOTS` in `actix_tls::connect` mod and remove
|
* Export `webpki_roots::TLS_SERVER_ROOTS` in `actix_tls::connect` mod and remove
|
||||||
|
|
|
@ -135,6 +135,7 @@ impl Resolver {
|
||||||
format!("{}:{}", host, req.port())
|
format!("{}:{}", host, req.port())
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// spawn blocking dns lookup in thread pool.
|
||||||
spawn_blocking(move || std::net::ToSocketAddrs::to_socket_addrs(&host))
|
spawn_blocking(move || std::net::ToSocketAddrs::to_socket_addrs(&host))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue