hi all, I use curlily for a few days ,however, i met a strange case : I use curl_easy_setopt(pCurl, CURLOPT_TIMEOUT,2); to set the timeout for 2 seconds,according to this, all the request should download within 2 seconds success or failure. and I use this code curl_easy_getinfo(easy, CURLINFO_TOTAL_TIME, &val_total_time); to get the total time elapsed, I feel strange that some request consume 6second, why ?
the log follow: (28) [size:0.000000][nameloopup_time:0.000036][connect_time:0.000036][total_time:6.047420][package_time_elapsed:6047.000000] 28 means this download is timeout size means the file I download is 0 bytes total_time is the same as val_total_time ,indicate this download process consume 6 seconds , I could not understand!!! could any one tell me the reason?
------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
