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

Generated
+1 -2
View File
@@ -4540,8 +4540,7 @@ checksum = "1e061d1b48cb8d38042de4ae0a7a6401009d6143dc80d2e2d6f31f0bdd6470c7"
[[package]]
name = "resolvematrix"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3121df844d2f59c801c703af7200b8dab5d1c04c5032cd57fa9347440346fe87"
source = "git+https://forgejo.ellis.link/continuwuation/resolvematrix?rev=397294dd7fbae7b43678140fec64ff50cc1f6ab6#397294dd7fbae7b43678140fec64ff50cc1f6ab6"
dependencies = [
"futures",
"hickory-resolver",