Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2026-06-04 18:52:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.2375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "curl" Thu Jun 4 18:52:27 2026 rev:225 rq:1356980 version:8.20.0 Changes: -------- --- /work/SRC/openSUSE:Factory/curl/curl.changes 2026-05-04 12:49:02.018403824 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.2375/curl.changes 2026-06-04 18:53:10.734062083 +0200 @@ -1,0 +2,7 @@ +Wed Jun 3 11:53:23 UTC 2026 - Dominik Heidler <[email protected]> + +- Backport fix for issue gh#curl/curl#21547 and gh#Nheko-Reborn/nheko#2054 + which caused applications to busy loop with 100% CPU usage + * Add libcurl-fix-wakeup-consumption.patch + +------------------------------------------------------------------- New: ---- libcurl-fix-wakeup-consumption.patch ----------(New B)---------- New: which caused applications to busy loop with 100% CPU usage * Add libcurl-fix-wakeup-consumption.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ curl.spec ++++++ --- /var/tmp/diff_new_pack.mIQa5V/_old 2026-06-04 18:53:12.906151676 +0200 +++ /var/tmp/diff_new_pack.mIQa5V/_new 2026-06-04 18:53:12.910151841 +0200 @@ -51,6 +51,7 @@ Patch2: curl-secure-getenv.patch # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch3: curl-disabled-redirect-protocol-message.patch +Patch4: libcurl-fix-wakeup-consumption.patch BuildRequires: groff BuildRequires: libtool BuildRequires: pkgconfig ++++++ libcurl-fix-wakeup-consumption.patch ++++++ >From 2a2104f3cff44bb28bb570a093be52bbeeed8f23 Mon Sep 17 00:00:00 2001 From: Stefan Eissing <[email protected]> Date: Mon, 11 May 2026 14:56:04 +0200 Subject: [PATCH] event: fix wakeup consumption The events on a multi wakeup socketpair were only consumed via curl_multi_poll()/curl_multi_wait() but not in event based processing on a curl_multi_socket() call. That led to busy loops as reported in Fixes #21547 Reported-by: Earnestly on github Closes #21549 --- lib/multi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/multi.c b/lib/multi.c index be32740a7097..5e84133f13fd 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -2703,6 +2703,11 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, Curl_uint32_bset_remove(&multi->dirty, data->mid); if(data == multi->admin) { +#ifdef ENABLE_WAKEUP + /* Consume any pending wakeup signals before processing. + * This is necessary for event based processing. See #21547 */ + (void)Curl_wakeup_consume(multi->wakeup_pair, TRUE); +#endif #ifdef USE_RESOLV_THREADED Curl_async_thrdd_multi_process(multi); #endif
