[curl_http_request] fix wrong option for starttransfer_time_status
This commit is contained in:
parent
c1b46f8df4
commit
6f2396804a
@ -609,7 +609,7 @@ int CurlHttpRequest::ProgressCallback(void* this_object, curl_off_t dltotal,
|
|||||||
|
|
||||||
double starttransfer_time = -1;
|
double starttransfer_time = -1;
|
||||||
const auto starttransfer_time_status = that->libcurl_->curl_easy_getinfo(
|
const auto starttransfer_time_status = that->libcurl_->curl_easy_getinfo(
|
||||||
that->curl_, CURLINFO_PRETRANSFER_TIME, &starttransfer_time);
|
that->curl_, CURLINFO_STARTTRANSFER_TIME, &starttransfer_time);
|
||||||
|
|
||||||
LOG(ERROR) << "The transmission of request " << this_object
|
LOG(ERROR) << "The transmission of request " << this_object
|
||||||
<< " (URI: " << that->uri_ << ") has been stuck at "
|
<< " (URI: " << that->uri_ << ") has been stuck at "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user