Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve DNS solver efficiency and resolve deadlock
Previously, simultaneously solving for example.com and *.example.com using the DNS challenge (i.e. both SANs on the same cert, which CertMagic doesn't do; but this is a general-purpose library) would cause a deadlock because both those names use the same-name TXT record. This caused problems with previous dependencies like lego and legacy DNS solvers, but the new acmez library and libdns packages support this. I've removed the locking around same-name records, which resolves the deadlock, and improves efficiency as well, since we can now solve challenges for example.com and *.example.com at the same time.
- Loading branch information
Showing
1 changed file
with
78 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters