You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Running curl with --doh-url seems to turn on verbose output #3660
on second thought it should inherit from the easy handle
diff --git a/lib/doh.c b/lib/doh.c
index f06ed33..5040248 100644
--- a/lib/doh.c+++ b/lib/doh.c@@ -242,7 +242,8 @@ static CURLcode dohprobe(struct Curl_easy *data,
ERROR_CHECK_SETOPT(CURLOPT_PROTOCOLS, CURLPROTO_HTTPS);
#endif
ERROR_CHECK_SETOPT(CURLOPT_TIMEOUT_MS, (long)timeout_ms);
- ERROR_CHECK_SETOPT(CURLOPT_VERBOSE, 1L);+ if(data->set.verbose)+ ERROR_CHECK_SETOPT(CURLOPT_VERBOSE, 1L);
doh->set.fmultidone = Curl_doh_done;
doh->set.dohfor = data; /* identify for which transfer this is done */
p->easy = doh;
also what's a good test site for doh, I tried cloudflare but it's not working
curld -v --doh-url https://cloudflare-dns.com/dns-query http://www.test.com
...
* DOH: Too small type A for www.test.com
* DOH: Too small type AAAA for www.test.com
It's a bug because CAINFO is not inherited and I need that in Windows. PR in #3661 to fix that and the OP's issue. And test sites are here.
Activity
jay commentedon Mar 9, 2019
Confirmed.
@bagder left in by accident?
jay commentedon Mar 9, 2019
on second thought it should inherit from the easy handle
also what's a good test site for doh, I tried cloudflare but it's not workingIt's a bug because CAINFO is not inherited and I need that in Windows. PR in #3661 to fix that and the OP's issue. And test sites are here.
doh: inherit more SSL options from easy handle
bagder commentedon Mar 9, 2019
Oops...
doh: inherit some SSL options from user's easy handle
jay commentedon Mar 11, 2019
Thanks