[curl_http_request] fix wrong option for starttransfer_time_status

This commit is contained in:
Vignesh Kothapalli 2020-11-12 22:01:18 +05:30
parent c1b46f8df4
commit 6f2396804a
No known key found for this signature in database
GPG Key ID: 7C9D6956FBA21DD7

View File

@ -609,7 +609,7 @@ int CurlHttpRequest::ProgressCallback(void* this_object, curl_off_t dltotal,
double starttransfer_time = -1;
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
<< " (URI: " << that->uri_ << ") has been stuck at "