Repository navigation
Upgrade curl from 8.8.0 to 8.23.0 - #394
Conversation
BenchmarksBenchmark execution time: 2026-11-02 10:03:20 Comparing candidate commit d5a0da6 in PR branch Found 0 performance improvements and 2 performance regressions! Performance is the same for 6 metrics, 0 unstable metrics.
|
b59c102 to
6aaf548
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
Removing CURL_ZLIB=OFF re-enables an unintended zlib dependency on fresh configurations where zlib is installed, breaking downstream consumers of the installed static package.
🤖 Bits Code Review · Commit 6aaf548
Overview
Upgrade Curl from
8.8.0(May 2024) to8.23.0(October 2026) (see Curl releases).Motivation
This is to fix an issue with the Datadog Apache module. See detailed explanations in next section. By the way, it is of course a good thing to upgrade the embedded
libcurl, even if we were not affected by any of the fixed vulnerabilities (because we use only a very narrow set of features fromlibcurl).Additional Notes
The Datadog Apache module crashes (100% CPU usage and errors flooding) on hosts with many virtual hosts and log files.
This is because
libcurlusesselect()that can’t handle file descriptors above 1024.The solution is to make
libcurlusepoll()instead ofselect().libcurldoesn’t usepoll()and defaults onselect()because we packagehttpd-datadogusing cross build, which prevents to detect thatpoll()is available.Upgrading
libcurlfrom8.8.0to latest available version,8.23.0fixes the issue:8.10.0adds a compilepoll()check for cross builds.8.11.0usespoll()whenever it exists (removing theHAVE_POLL_FINEoption) (PR curl - select: use poll() if existing, avoid poll() with no sockets).The
HTTP_ONLYoption to build Curl disappeared, so we now have to disable all other protocols one by one.References
Jira ticket: IDMPL-1217: [C++ Tracer] Upgrade libcurl to get poll() vs select() fix
Contributor Checklist