fix: Use correct DNS caching for SNI to function properly #1934
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1934
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "s1lv3r/continuwuity:zoe/fix-resolver-caching"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
fix: Use correct DNS caching for SNI to function properlyto WIP: fix: Use correct DNS caching for SNI to function properlyBefore merge, a new version of resolvematrix will have to be released and cargo.toml must be changed to reflect this instead of a git hash
MatrixResolver::create_dns_resolver()#30Blocked by continuwuation/resolvematrix#30
WIP: fix: Use correct DNS caching for SNI to function properlyto fix: Use correct DNS caching for SNI to function properly@ -0,0 +1 @@Replace old DNS cache with resolvematrix' built in one for better handling of SNI and overrides. Contributed by @s1lv3r.I don't think this needs a changelog tbh
I disagree, it changes the DNS caching entirely, its a decently big change
this probably isn't the correct way to describe it to end users, then.
@ -257,0 +297,4 @@opts.timeout = Duration::from_secs(config.dns_timeout);opts.attempts = config.dns_attempts.into();opts.try_tcp_on_error = config.dns_tcp_fallback;opts.num_concurrent_reqs = 1;only 1 concurrent request?
nvm that's from the old code diff is messing with me