Re: curl 7.75.0 fails to compile

2021-02-04 Thread Ray Satiro via curl-library
On 2/4/2021 12:02 PM, Firefox OS via curl-library wrote: I got following compilation error in 7.75 release. It was OK in curl 7.74. The attached patch fixes the compilation problem in my case. http.c:1963:10: error: conflicting types for ‘Curl_add_timecondition’ 1963 | CURLcode

Webinar: "curl, Hyper and Rust"

2021-02-04 Thread Daniel Stenberg via curl-library
Hi friends, On February 11th, 2021 we invite you to participate in a webinar we call “curl, Hyper and Rust”. Josh from ISRG and Sean from Hyper will join me "on stage". It'll be a 30 minutes session with a following Q To join live, register before-hand here:

curl 7.75.0 fails to compile

2021-02-04 Thread Firefox OS via curl-library
Hi, I got following compilation error in 7.75 release. It was OK in curl 7.74. The attached patch fixes the compilation problem in my case. http.c:1963:10: error: conflicting types for ‘Curl_add_timecondition’ 1963 | CURLcode Curl_add_timecondition(const struct connectdata *conn, |

CURLOPT_ACCEPT_ENCODING not working (help)

2021-02-04 Thread Adrián Gimeno Balaguer via curl-library
Hi, I’m using a self built libcurl shared library for embedded use in a C++ application. In the attempt of requesting it to automatically decompress response data from a remote server of interest by using a line like the following in my request setup: curl_easy_setopt(mpCURL,

RE: Different errors for DNS resolution

2021-02-04 Thread Daniel Stenberg via curl-library
On Thu, 4 Feb 2021, Tejas via curl-library wrote: Also, with (1) I see that when CURLOPT_CONNECTTIMEOUT was set to 10 seconds, and curl logs "Resolving timed out after 10001 milliseconds", CURLINFO_TOTAL_TIME reports more time, like 15 or 20 seconds, Is this normal? This is with the easy

RE: Different errors for DNS resolution

2021-02-04 Thread Tejas via curl-library
> > I noticed that there are two errors related to DNS resolution in libcurl > > > > 1. "Resolving timed out after milliseconds" (snip) > > 2. "Could not resolve host: " (snip) > > What is the the difference between both of them? > > During failure, the first one seems to depend on

RE: Different errors for DNS resolution

2021-02-04 Thread Groke, Paul via curl-library
From: curl-library On Behalf Of Tejas via curl-library Sent: Donnerstag, 4. Februar 2021 10:18 > > I noticed that there are two errors related to DNS resolution in libcurl > > 1. "Resolving timed out after milliseconds" (snip) > 2. "Could not resolve host: " (snip) > What is the the difference

Different errors for DNS resolution

2021-02-04 Thread Tejas via curl-library
Hello, I noticed that there are two errors related to DNS resolution in libcurl 1. "Resolving timed out after milliseconds" - https://github.com/curl/curl/blob/1dc8aa870e879d3b2ff0334cdb11842d6321d61f/lib/multi.c#L1602 2. "Could not resolve host: " - Maybe this file