I try libcurl 7.44.0. The problem is the same as before. Another problem, sometimes it's spend 10 mins or more for libcurl timeout, but i set curl_easy_setopt(curl, CURLOPT_TIMEOUT, 120), the whole timeout is 120 sec. I don't know why?
At 2015-08-20 20:51:59,"Daniel Stenberg" <[email protected]> wrote: >On Thu, 20 Aug 2015, dong wrote: > >> I use libcurl 7.24.0. I set curl in a thread like this: > >> Sometimes, i got "curl_easy_perform() failed: Timeout was reached. " from >> libcurl, and submit data to server failed. But in fact, the sever get the >> data, i don't know why. Any suggestions? > >libcurl itself uses SIGALRM to timeout slow DNS resolves when built to use the >stock resolver but it makes an effort to put the old value back after it is >done, so no I can't really explain that behavior. > >Could be worth trying a newer libcurl version to see if the problem is still >in there! > >-- > > / daniel.haxx.se >------------------------------------------------------------------- >List admin: http://cool.haxx.se/list/listinfo/curl-library >Etiquette: http://curl.haxx.se/mail/etiquette.html
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
