Re: read() call in timer_cb

2020-06-08 Thread James Read via curl-library
On Mon, Jun 8, 2020 at 10:35 PM Daniel Stenberg wrote: > On Mon, 8 Jun 2020, James Read via curl-library wrote: > > > This is because my web crawler uses this function and the read() call > seems > > to be causing problems with my web crawler. > > > > What is the read() call for? > > Obviously

Re: read() call in timer_cb

2020-06-08 Thread Daniel Stenberg via curl-library
On Mon, 8 Jun 2020, James Read via curl-library wrote: This is because my web crawler uses this function and the read() call seems to be causing problems with my web crawler. What is the read() call for? Obviously it reads from the file descriptor created by timerfd_create(). Which is a

read() call in timer_cb

2020-06-08 Thread James Read via curl-library
I am trying to understand the function timer_cb in https://curl.haxx.se/libcurl/c/ephiperfifo.html This is because my web crawler uses this function and the read() call seems to be causing problems with my web crawler. What is the read() call for? It has been suggested to me elsewhere that I

Re: How Handle DNS timeout cases from Application

2020-06-08 Thread Daniel Stenberg via curl-library
On Mon, 8 Jun 2020, Jayashankara DM via curl-library wrote: When DNS resolution is not possible for some reason (like DNS server is down or can be any other reason) our application is crashing. That sounds like an application error. Why does it crash because of this? A failed resolve should

How Handle DNS timeout cases from Application

2020-06-08 Thread Jayashankara DM via curl-library
Hi, We are facing an application crash issue when DNS resolution is not successful. Background: We have a multi-threaded application, In which only one thread uses the curl to make connections to our server. Remaining threads are not using curl. Curl version: curl-7.63.0 OS : Linux When DNS