We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Specifying a URL containing a port when using HTTP/3 doesn't work; the port is ignored.
To Reproduce
import dns.message import dns.query url = 'https://example.com:10443/dns-query' m = dns.message.make_query('google.com', 'A') r = dns.query.https(m, url, verify=False, bootstrap_address='127.0.0.1', http_version=3) print(r)
This should send a query to port 10443; it actually sends a query to port 443. With http_version=2, it correctly sends to the alternate port.
http_version=2
Context
The text was updated successfully, but these errors were encountered:
Use the port from the URL if provided for H3 [#1139]
566d103
4eaf0e2
(cherry picked from commit 566d103)
Fixed, thanks!
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Specifying a URL containing a port when using HTTP/3 doesn't work; the port is ignored.
To Reproduce
This should send a query to port 10443; it actually sends a query to port 443. With
http_version=2
, it correctly sends to the alternate port.Context
The text was updated successfully, but these errors were encountered: