[OpenSIPS-Devel] [OpenSIPS/opensips] 9664d5: rest_client: Fix RHEL 7.9 build regression in comm...

Liviu Chircu noreply at github.com
Fri Mar 8 14:09:49 UTC 2024


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9664d5dc1332413b557ae5d34f0bfd624241ede2
      https://github.com/OpenSIPS/opensips/commit/9664d5dc1332413b557ae5d34f0bfd624241ede2
  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!

(cherry picked from commit 975f5d13e9444dcb4ebab8f0dec50637ca3809da)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list