[OpenSIPS-Devel] [OpenSIPS/opensips] 975f5d: rest_client: Fix RHEL 7.9 build regression in comm...
Liviu Chircu
noreply at github.com
Fri Mar 8 14:07:35 UTC 2024
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 975f5d13e9444dcb4ebab8f0dec50637ca3809da
https://github.com/OpenSIPS/opensips/commit/975f5d13e9444dcb4ebab8f0dec50637ca3809da
Author: Liviu Chircu <liviu at opensips.org>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M modules/rest_client/rest_methods.c
Log Message:
-----------
rest_client: Fix RHEL 7.9 build regression in commit 7e85fddb6
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!
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list