fix actix-tls changelog

This commit is contained in:
fakeshadow 2021-01-22 17:43:12 -08:00
parent 874e5f2e50
commit 47e1a879d7
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
## Unreleased - 2021-xx-xx
* 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 `Resolver::new_custom` function to construct custom resolvers. [#248]
* Export `webpki_roots::TLS_SERVER_ROOTS` in `actix_tls::connect` mod and remove

View File

@ -135,6 +135,7 @@ impl Resolver {
format!("{}:{}", host, req.port())
};
// spawn blocking dns lookup in thread pool.
spawn_blocking(move || std::net::ToSocketAddrs::to_socket_addrs(&host))
}
}