-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Hyper: crash with DNS-over-HTTPS #6389
Comments
Added to https://github.com/curl/curl/wiki/Hyper as remaining work. |
If nobody else than me is interested in fixing this issue then I'm probably going to close it soon as a "known bug". I can certainly reproduce the problem but I want to get more of the fundamental stuff to work with Hyper first before I take on DoH. |
Just to add, with a libcurl built with
Adding something to a NULL-dynbuf. |
And a
Out of memory, what?! |
DoH is not made to work with Hyper yet. You will get all sorts of errors trying to use this until fixed. |
An update: it appears that DoH does now work with Hyper. The example given at the top of this issue works fine with Hyper. Also, https://github.com/curl/curl/wiki/Hyper has an entry on October 27, 2021 (almost 10 months after this issue was file) that says "I verified that DoH works with hyper builds". |
@bagder Seems like we should remove the KNOWN_BUGS tag? |
I did this
Built libcurl with
USE_HYPER
and issuing this command:curl.exe --doh-url https://cloudflare-dns.com/dns-query https://www.vg.no
I expected the following
The command not to crash. Which it did with this call-stack:
Inspecting the parameters in the
doh_write_cb()
callback:I saw a
mem == NULL
!curl/libcurl version
operating system
Windows-10.
Building without a
-DUSE_HYPER
, there is no crash.The text was updated successfully, but these errors were encountered: