Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: infinite "easy_transfer function" wait loop
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Lilia Boneva via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 9 Feb 2022 13:12:55 +0200 (EET)
Hello,
Just this morning 3 hours before your message I found that I can give TimeOut time :) ... I did it (used 3minute as start) and now am watching what will happen.
Also yesterday found that there is no difference between debug/release behavior (regarding infinite loop that happened)
If that was the problem may be curllib should use default timeout value != 0 (infinite!)
Thank you !
> Message: 1
> Date: Tue, 8 Feb 2022 18:33:48 -0500
> From: Ray Satiro <raysatiro_at_yahoo.com>
> To: curl-library_at_lists.haxx.se
> Subject: Re: infinite "easy_transfer function" wait loop
...
> > It seems I was not set google drive link properly. Now should be OK (https://drive.google.com/file/d/1kdMSBS9fZPBW4WoMJ4qgHIeB01h46d4V/view?usp=sharing). Also thank you for links and winsock info.
> >
> > I will try making working code to share (now not so easy because the secure requests use private data).
> > I will also try release version (like Mr. Dmitry Karpov suggested) and other curl versions, because 7.77 for example runs >5 days before infinite loop (7.81 less than a day)
> > Thank you for suggesting ideas toward solutionHave a nice day
>
>
> When you say libcurl loops infinitely, are you aware that by default it
> will wait forever for a reply and are you saying that something is
> happening different from that behavior? I watched that video and I don't
> see anything unusual. It looks as though you have called
> curl_easy_perform and libcurl is waiting for a reply from
> api.kraken.com. There is nothing unusual about that unless it's eating
> CPU rather than waiting the 1 second between polls when nothing is
> available to read. Enable verbose mode [1], or try the debug function
> [2], or look into timeout options [3].
>
> [1]: https://curl.se/libcurl/c/CURLOPT_VERBOSE.html
> [2]: https://curl.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html
> [3]: https://curl.se/libcurl/c/CURLOPT_TIMEOUT.html
Date: Wed, 9 Feb 2022 13:12:55 +0200 (EET)
Hello,
Just this morning 3 hours before your message I found that I can give TimeOut time :) ... I did it (used 3minute as start) and now am watching what will happen.
Also yesterday found that there is no difference between debug/release behavior (regarding infinite loop that happened)
If that was the problem may be curllib should use default timeout value != 0 (infinite!)
Thank you !
> Message: 1
> Date: Tue, 8 Feb 2022 18:33:48 -0500
> From: Ray Satiro <raysatiro_at_yahoo.com>
> To: curl-library_at_lists.haxx.se
> Subject: Re: infinite "easy_transfer function" wait loop
...
> > It seems I was not set google drive link properly. Now should be OK (https://drive.google.com/file/d/1kdMSBS9fZPBW4WoMJ4qgHIeB01h46d4V/view?usp=sharing). Also thank you for links and winsock info.
> >
> > I will try making working code to share (now not so easy because the secure requests use private data).
> > I will also try release version (like Mr. Dmitry Karpov suggested) and other curl versions, because 7.77 for example runs >5 days before infinite loop (7.81 less than a day)
> > Thank you for suggesting ideas toward solutionHave a nice day
>
>
> When you say libcurl loops infinitely, are you aware that by default it
> will wait forever for a reply and are you saying that something is
> happening different from that behavior? I watched that video and I don't
> see anything unusual. It looks as though you have called
> curl_easy_perform and libcurl is waiting for a reply from
> api.kraken.com. There is nothing unusual about that unless it's eating
> CPU rather than waiting the 1 second between polls when nothing is
> available to read. Enable verbose mode [1], or try the debug function
> [2], or look into timeout options [3].
>
> [1]: https://curl.se/libcurl/c/CURLOPT_VERBOSE.html
> [2]: https://curl.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html
> [3]: https://curl.se/libcurl/c/CURLOPT_TIMEOUT.html
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-02-09