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:
theS1LV3R authored and Ellis Git committed 2026-07-10 13:44:59 +00:00
1 parent 2e1015846d
commit 8b6a176901
7 files changed
+94 -140

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ impl super::Service {
let actual = self
.services
.client
.resolver
.matrix_resolver
.resolve_server(dest.as_str())
.await?;