Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

twisted: Delete TwistedResolver class #3397

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

bdarnell
Copy link
Member

This class was deprecated and slated for deletion in Tornado 7.0. However, it has become broken due to the adoption of RFC 8482 (which limits the use of the ANY query type in DNS) and it now fails for most domain names (with the exception of localhost). The upstream issue twisted/twisted#10062 has been open for years which is a pretty good sign that no one is depending on this class and it's safe to remove it ahead of schedule.

This class was primarily intended to provide thread-free non-blocking DNS resolution. If that is still required,
tornado.platform.caresresolver is the next best option, although it has its own limitations which differ from TwistedResolver.

This class was deprecated and slated for deletion in Tornado 7.0.
However, it has become broken due to the adoption of RFC 8482
(which limits the use of the ANY query type in DNS) and it now fails
for most domain names (with the exception of localhost).
The upstream issue twisted/twisted#10062
has been open for years which is a pretty good sign that no one
is depending on this class and it's safe to remove it ahead of
schedule.

This class was primarily intended to provide thread-free non-blocking
DNS resolution. If that is still required,
`tornado.platform.caresresolver` is the next best option, although it
has its own limitations which differ from TwistedResolver.
@bdarnell bdarnell merged commit 59727ba into tornadoweb:master Jun 11, 2024
13 checks passed
@bdarnell bdarnell deleted the rm-twisted-resolver branch June 11, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant