mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
fix: Use correct DNS caching for SNI to function properly
This removes the old (broken) DNS caching method for reqwest, and replaces it with resolvematrix' `MatrixDnsResolver`, as it correctly implements caching and overrides for correct SNI behavior.
This commit is contained in:
1 parent
2e1015846d
commit
8b6a176901
7 files changed
+94
-140
No files matched your search
@@ -134,7 +134,7 @@ impl super::Service {
|
||||
let actual = self
|
||||
.services
|
||||
.client
|
||||
.resolver
|
||||
.matrix_resolver
|
||||
.resolve_server(dest.as_str())
|
||||
.await?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user