[OpenSIPS-Devel] [OpenSIPS/opensips] b4c2c7: rest_client: Fix build on systems with libcurl < 7...

Liviu Chircu noreply at github.com
Tue Jul 19 16:05:24 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b4c2c743680d7b6fde60224e8686a5cf8bdfd793
      https://github.com/OpenSIPS/opensips/commit/b4c2c743680d7b6fde60224e8686a5cf8bdfd793
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-07-19 (Tue, 19 Jul 2022)

  Changed paths:
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest_client: Fix build on systems with libcurl < 7.62.0

Commit 208fc5e4d545 introduced a dependency on libcurl 7.62.0 or higher.
This commit fixes that by introducing a simplistic URL host parsing API,
should the equivalent libcURL API be unavailable.

Many thanks to Nick Altmann for the report!





More information about the Devel mailing list