Skip to content

Restore UnwindSafe/RefUnwindSafe on ClientOptions by bounding DnsResolver - #836

Merged
alamb merged 1 commit into
apache:mainfrom
alamb:alamb/dns_resolver_unwind_safe
Aug 19, 2026
Merged

alamb merged 1 commit into
apache:mainfrom
alamb:alamb/dns_resolver_unwind_safe

Conversation

@alamb

@alamb alamb commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

What changes are included in this PR?

Add UnwindSafe + RefUnwindSafe as supertraits of DnsResolver

Are these changes tested?

Yes with CI

Are there any user-facing changes?

…lver

Add UnwindSafe + RefUnwindSafe as supertraits of DnsResolver so that
Arc<dyn DnsResolver> implements the auto traits, restoring them on
ClientOptions and the store builders that embed it.

Fixes apache#835

Co-Authored-By: Claude Fable 5 <[email protected]>
@alamb
alamb force-pushed the alamb/dns_resolver_unwind_safe branch from e964bbe to 4dec936 Compare August 17, 2026 20:34
@alamb

alamb commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

Thank you @kylebarron

@alamb
alamb merged commit 5c74363 into apache:main Aug 19, 2026
9 checks passed
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.

Regression: ClientOptions no longer UnwindSafe/RefUnwindSafe after custom DNS resolver support (#728)

2 participants