public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: new upstream release - 8.19.0~rc1
@ 2026-11-03 12:39 Jan Macku
  0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-11-03 12:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : 7f05bb9f0320ac5a0a2f4503ab700cd4c36eb112
Author : Jan Macku <jamacku@redhat.com>
Date   : 2026-02-12T14:27:13+01:00
Stats  : +8/-118 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/7f05bb9f0320ac5a0a2f4503ab700cd4c36eb112?branch=curl-v8.23.0-3

Log:
new upstream release - 8.19.0~rc1

---
diff --git a/0001-curl-8.18.0-multi-update-timer-unconditionally-in-multi_remove_h.patch b/0001-curl-8.18.0-multi-update-timer-unconditionally-in-multi_remove_h.patch
deleted file mode 100644
index aabe577..0000000
--- a/0001-curl-8.18.0-multi-update-timer-unconditionally-in-multi_remove_h.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-From 0f566bd818245dd1f6cb42b0d409ce34ebff9259 Mon Sep 17 00:00:00 2001
-From: Stefan Eissing <stefan@eissing.org>
-Date: Tue, 3 Feb 2026 10:18:13 +0100
-Subject: [PATCH] multi: update timer unconditionally in multi_remove_handle
-
-When removing an easy handle from a multi, there was an optimization
-to update the timer only when the removed handle had any timers.
-
-With the introduction of the "dirty" bitset, easy handles can now cause
-a timeout of 0 to be set without having anything in their timer list.
-Removing such a handle needs to update the timer now always, so that
-it may get cleared when there is nothing more to wait for.
-
-The previous "not clearing a 0 timer" should not have any effect on
-application's logic. Without clearing, the timer will fire and then
-adjust itself to the proper value. But it would cause one more timer
-fire than necessary.
-
-Reported-by: Jan Macku
-
-Fixes https://github.com/curl/curl/issues/20498
-Closes https://github.com/curl/curl/pull/20502
-
-(cherry picked from commit 2d4efbb9b36c0f883651020fd7d9a3f62fc0829b)
----
- lib/multi.c   | 17 ++++++-----------
- lib/multiif.h |  2 +-
- 2 files changed, 7 insertions(+), 12 deletions(-)
-
-diff --git a/lib/multi.c b/lib/multi.c
-index 7cfd053c90..6db86abda2 100644
---- a/lib/multi.c
-+++ b/lib/multi.c
-@@ -750,7 +750,6 @@ CURLMcode curl_multi_remove_handle(CURLM *m, CURL *d)
-   bool premature;
-   struct Curl_llist_node *e;
-   CURLMcode mresult;
--  bool removed_timer = FALSE;
-   uint32_t mid;
- 
-   /* First, make some basic checks that the CURLM handle is a good handle */
-@@ -805,7 +804,7 @@ CURLMcode curl_multi_remove_handle(CURLM *m, CURL *d)
-   /* The timer must be shut down before data->multi is set to NULL, else the
-      timenode will remain in the splay tree after curl_easy_cleanup is
-      called. Do it after multi_done() in case that sets another time! */
--  removed_timer = Curl_expire_clear(data);
-+  Curl_expire_clear(data);
- 
-   /* If in `msgsent`, it was deducted from `multi->xfers_alive` already. */
-   if(!Curl_uint32_bset_contains(&multi->msgsent, data->mid))
-@@ -878,11 +877,9 @@ CURLMcode curl_multi_remove_handle(CURLM *m, CURL *d)
-      We do not touch the easy handle here! */
-   process_pending_handles(multi);
- 
--  if(removed_timer) {
--    mresult = Curl_update_timer(multi);
--    if(mresult)
--      return mresult;
--  }
-+  mresult = Curl_update_timer(multi);
-+  if(mresult)
-+    return mresult;
- 
-   CURL_TRC_M(data, "removed from multi, mid=%u, running=%u, total=%u",
-              mid, Curl_multi_xfers_running(multi),
-@@ -3649,7 +3646,7 @@ void Curl_expire_done(struct Curl_easy *data, expire_id eid)
-  *
-  * Clear ALL timeout values for this handle.
-  */
--bool Curl_expire_clear(struct Curl_easy *data)
-+void Curl_expire_clear(struct Curl_easy *data)
- {
-   struct Curl_multi *multi = data->multi;
-   struct curltime *nowp = &data->state.expiretime;
-@@ -3657,7 +3654,7 @@ bool Curl_expire_clear(struct Curl_easy *data)
-   /* this is only interesting while there is still an associated multi struct
-      remaining! */
-   if(!multi)
--    return FALSE;
-+    return;
- 
-   if(nowp->tv_sec || nowp->tv_usec) {
-     /* Since this is an cleared time, we must remove the previous entry from
-@@ -3677,9 +3674,7 @@ bool Curl_expire_clear(struct Curl_easy *data)
-       CURL_TRC_M(data, "[TIMEOUT] all cleared");
-     nowp->tv_sec = 0;
-     nowp->tv_usec = 0;
--    return TRUE;
-   }
--  return FALSE;
- }
- 
- CURLMcode curl_multi_assign(CURLM *m, curl_socket_t s,
-diff --git a/lib/multiif.h b/lib/multiif.h
-index 15fc070341..f368639857 100644
---- a/lib/multiif.h
-+++ b/lib/multiif.h
-@@ -30,7 +30,7 @@
- void Curl_expire(struct Curl_easy *data, timediff_t milli, expire_id);
- void Curl_expire_ex(struct Curl_easy *data,
-                     timediff_t milli, expire_id id);
--bool Curl_expire_clear(struct Curl_easy *data);
-+void Curl_expire_clear(struct Curl_easy *data);
- void Curl_expire_done(struct Curl_easy *data, expire_id id);
- CURLMcode Curl_update_timer(struct Curl_multi *multi) WARN_UNUSED_RESULT;
- void Curl_attach_connection(struct Curl_easy *data,
--- 
-2.52.0
-

diff --git a/curl.spec b/curl.spec
index 3f856ae..4b13eb6 100644
--- a/curl.spec
+++ b/curl.spec
@@ -11,8 +11,8 @@
 
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
-Version: 8.18.0
-Release: 4%{?dist}
+Version: 8.19.0~rc1
+Release: 1%{?dist}
 License: curl
 Source0: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz
 Source1: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz.asc
@@ -21,11 +21,6 @@ Source1: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz.asc
 # which points to the GPG key as of April 7th 2016 of https://daniel.haxx.se/mykey.asc
 Source2: mykey.asc
 
-# update timer unconditionally in multi_remove_handle
-# rubygem-ethon: FTBFS in Fedora Rawhide
-# https://bugzilla.redhat.com/show_bug.cgi?id=2405328
-Patch001: 0001-curl-8.18.0-multi-update-timer-unconditionally-in-multi_remove_h.patch
-
 # patch making libcurl multilib ready
 Patch101: 0101-curl-7.32.0-multilib.patch
 
@@ -447,6 +442,10 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Thu Feb 12 2026 Jan Macku <jamacku@redhat.com> - 8.19.0~rc1-1
+- new upstream release candidate
+- drop upstreamed patches
+
 * Wed Feb 04 2026 Jan Macku <jamacku@redhat.com> - 8.18.0-4
 - Fix rubygem-ethon: FTBFS in Fedora Rawhide (#2405328)
 

diff --git a/sources b/sources
index 002e494..08651ba 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (curl-8.18.0.tar.xz) = 50c7a7b0528e0019697b0c59b3e56abb2578c71d77e4c085b56797276094b5611718c0a9cb2b14db7f8ab502fcf8f42a364297a3387fae3870a4d281484ba21c
-SHA512 (curl-8.18.0.tar.xz.asc) = 07e08d1bb3f8bf20b3d22f37fbc19c49c0d9ee4ea9d92da76fa8a9de343023e1b5d416ccc6535a4ff98b08b30eb9334fd856227e37564f6bcd542aa81bced152
+SHA512 (curl-8.19.0-rc1.tar.xz) = c58e996e49e6ea395ca41df7fa977d11a54e3ebcffd9141fa5898edacb19c0f3dd650eb5298f31322acc8c0480ebe60adf6202cbd90be1d825c3ef839e64d362
+SHA512 (curl-8.19.0-rc1.tar.xz.asc) = 06c9c8557c6cad938e01fa74d4999687ee37eef5ba02ccd8d2bcb5079d851959efcb9ee5ab371cbf88fa913eb97aa5abfc7bbf98fb189f680f5ee2d6563bef3d

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:39 [rpms/curl] curl-v8.23.0-3: new upstream release - 8.19.0~rc1 Jan Macku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox