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
Pass quinn::Endpoint
for DoQ and DoH3
#2002
Comments
Makes sense to me. |
Was just working on an implementation but hit a roadblock: There is currently no way to get that information out of an So an easy solution that comes to mind is to extend That said, I have the suspicion that this check isn't needed in the first place because I think that Any guidance would be appreciated. |
That sounds right, and I think I figured out how it works:
|
Is your feature request related to a problem? Please describe.
In an effort to reduce the resources used in my application, I would like to reuse the socket and other resources held by
quinn::Endpoint
across multiple libraries in use.Describe the solution you'd like
Add a method to
trust_dns_proto::quic::QuicClientStreamBuilder
andtrust_dns_resolver::config::NameServerConfigGroup
to supply aquinn::Endpoint
.Describe alternatives you've considered
There isn't a real alternative I can think of.
Additional context
Happy to write up the PR!
The text was updated successfully, but these errors were encountered: