curl / Mailing Lists / curl-library / Single Mail

curl-library

Time taken by curl_easy_perform

From: Vidyanand Nille via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 01 Oct 2017 11:20:02 +0530
Hi,

I am using curl 7.29 on RHEL 7.1. 

When I tried hitting URL with curl command it's taking 10ms to get complete response but same URL when fetched from curl_easy_perform function it's taking 50ms to get response. 

I tried it multiple times but there is consistent difference of 35-40 ms between curl command and libcurl function. 

When debugged further, through curl_easy_perform I am getting response header in 10ms but response data is coming after 30ms difference always. Behavior is consistent. What could be reason? 

Regards, 
Vidyanand 

Sent from my BlackBerry

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-01