]> git.ipfire.org Git - thirdparty/collectd.git/commit
curl_stats: fix compatibility with new versions of cURL.
authorFlorian Forster <octo@collectd.org>
Fri, 24 Nov 2023 07:28:06 +0000 (08:28 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 29 Nov 2023 20:56:19 +0000 (21:56 +0100)
commit02f01f582effa51497590edca358cb17eb0ce01a
treeca252732fe6e4c2a0941bb26b0a3f46604896139
parente91583f6dfa3704ae512a38ff703b2fb1765875c
curl_stats: fix compatibility with new versions of cURL.

Use integer based keys for metrics if available.

cURL ≥ 7.55.0 provides additional keys that allow getting certain
metrics as integers rather than doubles, e.g. content length. In some
newer versions of cURL, the original keys (using doubles) are marked as
deprecated.

ChangeLog: cURL, cURL-JSON, cURL-XML, Write HTTP plugins: fix compatibility with new versions of cURL.
src/utils/curl_stats/curl_stats.c