The curl_getinfo function only tells the time taken by the server to respond but not the time taken to send the request. Would it be safe to consider the below measure as the time taken to send the request?
"
CURLINFO_PRETRANSFER_TIME
Pass a pointer to a double to receive the time, in seconds, it took from the start until the file transfer is just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved. "
How to get the time taken to send the request completely using curl?
Started by witheredOldMale, Mar 30 2009 03:40 AM
1 reply to this topic
#1
Posted 30 March 2009 - 03:40 AM
|
|
|
#2
Posted 30 March 2009 - 03:52 AM
Reading the explanation of the various measurements given in http dot slash slash curl dot haxx dot se/libcurl/c/curl_easy_getinfo.html
whenever they are talking about data transfer, they don't qualify it as the data transfer of the request or the response hence the intended meaning is not at all clear.
whenever they are talking about data transfer, they don't qualify it as the data transfer of the request or the response hence the intended meaning is not at all clear.


Sign In
Create Account

Back to top









