1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-13 02:39:32 +00:00

fixup post-upgrade

This commit is contained in:
Rob Ede 2023-09-03 05:21:46 +01:00
parent b1b9771a9e
commit f769a1adee
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
## Unreleased
- Update `trust-dns-resolver` dependency to `0.23`.
## 3.2.0
- Add `awc::Connector::rustls_021()` method for Rustls v0.21 support behind new `rustls-0_21` crate feature.

View file

@ -915,7 +915,7 @@ mod resolver {
}
};
let resolver = TokioAsyncResolver::tokio(cfg, opts).unwrap();
let resolver = TokioAsyncResolver::tokio(cfg, opts);
// box trust dns resolver and put it in thread local.
let resolver = Resolver::custom(TrustDnsResolver(resolver));