Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rest_client: Fix RHEL 7.9 build regression in commit 7e85fdd
RHEL 7.9 is using libcurl 7.29 (from 11 years ago), so the CURLINFO_CONNECT_TIME_T easyinfo option is not available. So let's use the CURLINFO_CONNECT_TIME info instead, which returns the exact same data (i.e. the `data->progress.t_connect` handle info), but divided as (double)seconds instead of being returned as (long)useconds. Credits to Răzvan Crainea for reporting this issue!
- Loading branch information