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
A DoH server (https://dig.bdurl.net/dns-query) has some problem,when I use this doh server and use -4, I got Error 27: Out of memory.
curl -4 --doh-url https://dig.bdurl.net/dns-query google.com
curl: (27) Out of memory
I suspect it's caused by TTL
* Connection #1 to host dig.bdurl.net left intact
* a DoH request is completed, 0 to go
* DoH: Too small type A for google.com
* DoH Host name: google.com
* TTL: 2147483647 seconds
* Closing connection 0
curl: (27) Out of memory
Previously it was wrongly returning CURLE_OUT_OF_MEMORY when the
response did not contain any addresses. Now it more accurately returns
CURLE_COULDNT_RESOLVE_HOST.
Reported-by: lRoccoon on github
Fixes#12365
I did this
A DoH server (https://dig.bdurl.net/dns-query) has some problem,when I use this doh server and use
-4
, I gotError 27: Out of memory
.I suspect it's caused by TTL
I expected the following
curl -4 --doh-url https://dig.bdurl.net/dns-query google.com curl: (6) Couldn't resolve host name
curl/libcurl version
curl 8.1.2 (x86_64-apple-darwin23.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.55.1
Release-Date: 2023-05-30
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL threadsafe UnixSockets
operating system
Linux 5.4.143
Mac OS 14.1
The text was updated successfully, but these errors were encountered: