public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] rawhide: new upstream release - 8.24.0~rc2
@ 2026-11-25 14:20 Jan Macku
  0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-11-25 14:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : rawhide
Commit : 86086c7f8bcdd4bc8b219fa4e9c39e268f290e99
Author : Jan Macku <jamacku@redhat.com>
Date   : 2026-11-25T14:25:26+01:00
Stats  : +12/-235 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/86086c7f8bcdd4bc8b219fa4e9c39e268f290e99?branch=rawhide

Log:
new upstream release - 8.24.0~rc2

---
diff --git a/0002-ci-setup-packit.patch b/0002-ci-setup-packit.patch
deleted file mode 100644
index 11bc43a..0000000
--- a/0002-ci-setup-packit.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 38bf48a33c7e1645536c159d87b9d99561ecb0a9 Mon Sep 17 00:00:00 2001
-From: Jan Macku <jamacku@redhat.com>
-Date: Wed, 21 Oct 2026 09:53:07 +0200
-Subject: [PATCH] ci: setup packit
-
-inspired by systemd's .packit.yml
-
-fedora-only
----
- .packit.yml | 40 ++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 40 insertions(+)
- create mode 100644 .packit.yml
-
-diff --git a/.packit.yml b/.packit.yml
-new file mode 100644
-index 0000000000..e876cd24c9
---- /dev/null
-+++ b/.packit.yml
-@@ -0,0 +1,40 @@
-+specfile_path: .packit_rpm/curl.spec
-+files_to_sync:
-+  - .packit.yml
-+  - src: .packit_rpm/curl.spec
-+    dest: curl.spec
-+upstream_package_name: curl
-+downstream_package_name: curl
-+upstream_tag_template: curl-{version}
-+srpm_build_deps: []
-+
-+actions:
-+  get-current-version:
-+    # Show the closest matching tag for the checked out revision, otherwise
-+    # Packit tries to get the latest tag by creation date, which doesn't work well.
-+    - "bash -ec 'git describe --tags --abbrev=0 | cut -d- -f1'"
-+
-+  post-upstream-clone:
-+    # Use the Fedora specfile
-+    - "git clone -b rawhide https://src.fedoraproject.org/rpms/curl.git .packit_rpm --depth=1"
-+    # Drop the "sources" file so rebase-helper doesn't think we're a dist-git
-+    - "rm -fv .packit_rpm/sources"
-+    # Drop all patches, since they're already included in the tarball
-+    - "sed -ri '/^Patch[0-9]+:/d' .packit_rpm/curl.spec"
-+    # Replace dynamic %(pkg-config ...) version macros with 0 — the
-+    # specfile library's rpm.spec() call cannot evaluate %(...) shell
-+    # expansions, causing Requires lines to end with bare '>='
-+    - "sed -ri 's/^(%global \\S+_version )\\%\\(.*/\\1 0/' .packit_rpm/curl.spec"
-+    # Drop GPG signature verification — packit generates its own tarball
-+    # from git, so it will never match the upstream-signed archive
-+    - "sed -ri '/gpgverify/d' .packit_rpm/curl.spec"
-+
-+# Available targets can be listed via `copr-cli list-chroots`
-+jobs:
-+- job: copr_build
-+  trigger: pull_request
-+  targets:
-+  - fedora-rawhide-aarch64
-+  - fedora-rawhide-ppc64le
-+  - fedora-rawhide-s390x
-+  - fedora-rawhide-x86_64

diff --git a/0003-conncache-poll-an-idle-connection-for-pending-input-.patch b/0003-conncache-poll-an-idle-connection-for-pending-input-.patch
deleted file mode 100644
index 40ae56f..0000000
--- a/0003-conncache-poll-an-idle-connection-for-pending-input-.patch
+++ /dev/null
@@ -1,168 +0,0 @@
-From 6b0f1c9fbb203a143cb464b588bd274df1747c52 Mon Sep 17 00:00:00 2001
-From: Rhino <195818135+1rhino2@users.noreply.github.com>
-Date: Thu, 15 Oct 2026 06:41:54 -0400
-Subject: [PATCH] conncache: poll an idle connection for pending input on every
- reuse
-
-Since 2f1e94eaed the alive check in Curl_cpool_conn_seems_healthy() is
-skipped when it last ran less than a second ago, and that also skipped
-the pending input check that follows it. An idle HTTP/1.1 connection
-that had received unsolicited data from the server was then reused
-within that second and the stray bytes came back as the response to the
-next request, so every later response on that connection was shifted by
-one. 8.21.0 refused to reuse a connection with input pending on every
-reuse, and with 8.22.0 the tool reproduces it at a 900 ms gap between
-requests while 1100 ms gets a fresh connection.
-
-RFC 9112 section 9.2 says a client must not treat data received with no
-outstanding request as a response, so poll for pending input on every
-reuse of an idle non-multiplexed connection and keep the once a second
-limit only for the other checks, the protocol specific
-connection_is_dead callback and multiplexed connections.
-
-Test 1701 reproduces it with sws sending a second response after the
-first one completed and the tool starting the next request inside the
-window.
-
-Follow-up to 2f1e94eaed
-Ref: #22169
-Bug: https://hackerone.com/reports/4098761
-Closes #23412
-
-(cherry picked from commit ef6b17cf12d4af4dfb2af4f9bc35861772be71c7)
----
- lib/conncache.c        | 14 ++++++--
- tests/data/Makefile.am |  1 +
- tests/data/test1701    | 75 ++++++++++++++++++++++++++++++++++++++++++
- 3 files changed, 87 insertions(+), 3 deletions(-)
- create mode 100644 tests/data/test1701
-
-diff --git a/lib/conncache.c b/lib/conncache.c
-index 2f759bed2f..157db0f2d8 100644
---- a/lib/conncache.c
-+++ b/lib/conncache.c
-@@ -1044,11 +1044,20 @@ bool Curl_cpool_conn_seems_healthy(struct connectdata *conn,
- {
-   struct Curl_easy *admin;
-   bool healthy = TRUE;
-+  bool poll_input;
- 
-   DEBUGASSERT(!data->conn);
-   if(cpool_conn_can_be_closed(conn) && cpool_conn_too_old(data, conn, pnow))
-     return FALSE;
--  if((curlx_ptimediff_ms(pnow, &conn->created) - conn->lastchecked_ms) < 1000)
-+
-+  /* An idle, non-multiplexed connection must not be reused when it has
-+   * input pending (RFC 9112, section 9.2), so that is polled on every
-+   * reuse. The once a second limit only applies to the other checks. */
-+  poll_input = cpool_conn_can_be_closed(conn) &&
-+    !Curl_conn_is_multiplex(conn, FIRSTSOCKET) &&
-+    !conn->scheme->run->connection_is_dead;
-+  if(!poll_input &&
-+     (curlx_ptimediff_ms(pnow, &conn->created) - conn->lastchecked_ms) < 1000)
-     return TRUE;
- 
-   admin = Curl_get_admin(data);
-@@ -1063,8 +1072,7 @@ bool Curl_cpool_conn_seems_healthy(struct connectdata *conn,
-     Curl_attach_connection(admin, conn, FALSE);
-     healthy = Curl_conn_is_alive(admin, conn, &input_pending);
-     Curl_detach_connection(admin);
--    if(healthy && input_pending && cpool_conn_can_be_closed(conn) &&
--       !Curl_conn_is_multiplex(conn, FIRSTSOCKET)) {
-+    if(healthy && input_pending && poll_input) {
-       /* Non-multiplexed connections without attached transfers should
-        * not have input pending. The input might be a TLS Notify Close,
-        * for all we know. */
-diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
-index d066f2db58..0f4ce61062 100644
---- a/tests/data/Makefile.am
-+++ b/tests/data/Makefile.am
-@@ -1716,6 +1716,7 @@ TESTCASES = \
-   test1693 \
-   \
-   test1700 \
-+  test1701 \
-   test1702 \
-   test1703 \
-   test1704 \
-diff --git a/tests/data/test1701 b/tests/data/test1701
-new file mode 100644
-index 0000000000..e4e3d04430
---- /dev/null
-+++ b/tests/data/test1701
-@@ -0,0 +1,75 @@
-+<?xml version="1.0" encoding="US-ASCII"?>
-+<testcase>
-+<info>
-+<keywords>
-+HTTP
-+HTTP GET
-+DELAY
-+</keywords>
-+</info>
-+# Server-side
-+<reply>
-+# the first response is exactly 60 bytes so that with writedelay the server
-+# sends it in three 20 byte writes and the unsolicited second response only
-+# starts arriving after the first transfer is complete and the connection
-+# has been returned to the pool
-+<data nocheck="yes">
-+HTTP/1.1 200 OK
-+Funny-head: yesyes
-+Content-Length: 6
-+
-+first
-+HTTP/1.1 200 OK
-+Content-Length: 6
-+
-+stray
-+</data>
-+<data2>
-+HTTP/1.1 200 OK
-+Content-Length: 7
-+
-+second
-+</data2>
-+<servercmd>
-+writedelay: 150
-+</servercmd>
-+</reply>
-+
-+# Client-side
-+<client>
-+<server>
-+http
-+</server>
-+<name>
-+HTTP/1.1 idle connection with unsolicited data is not reused
-+</name>
-+# --rate 1/s starts the second request 1000 ms after the first one started,
-+# which is about 700 ms after the first response completed and the
-+# connection went back to the pool, inside the one second window where the
-+# pool used to skip the alive check. The stray response has fully arrived
-+# about 750 ms in.
-+<command option="no-include">
-+http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002 --rate 1/s
-+</command>
-+</client>
-+
-+# Verify data after the test has been "shot"
-+<verify>
-+<protocol crlf="yes">
-+GET /%TESTNUMBER HTTP/1.1
-+Host: %HOSTIP:%HTTPPORT
-+User-Agent: curl/%VERSION
-+Accept: */*
-+
-+GET /%TESTNUMBER0002 HTTP/1.1
-+Host: %HOSTIP:%HTTPPORT
-+User-Agent: curl/%VERSION
-+Accept: */*
-+
-+</protocol>
-+<stdout>
-+first
-+second
-+</stdout>
-+</verify>
-+</testcase>

diff --git a/curl.spec b/curl.spec
index 52acf01..6414b2d 100644
--- a/curl.spec
+++ b/curl.spec
@@ -12,8 +12,8 @@
 
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
-Version: 8.23.0
-Release: 3%{?dist}
+Version: 8.24.0~rc2
+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
@@ -24,8 +24,6 @@ Source2: mykey.asc
 
 # Fedora-specific
 Patch0001: 0001-prevent-multilib-conflicts-on-the-curl-config-script.patch
-Patch0002: 0002-ci-setup-packit.patch
-Patch0003: 0003-conncache-poll-an-idle-connection-for-pending-input-.patch
 
 Provides: curl-full = %{version}-%{release}
 # do not fail when trying to install curl-minimal after drop
@@ -256,11 +254,14 @@ printf "582\n600\n601\n602\n603\n604\n605\n606\n607\n608\n" >>tests/data/DISABLE
 printf "609\n610\n611\n612\n613\n614\n615\n616\n617\n618\n" >>tests/data/DISABLED
 printf "619\n620\n621\n622\n623\n624\n625\n626\n627\n628\n" >>tests/data/DISABLED
 printf "629\n630\n631\n633\n634\n635\n636\n637\n638\n639\n" >>tests/data/DISABLED
-printf "640\n641\n642\n656\n664\n665\n" >>tests/data/DISABLED
+printf "640\n641\n642\n656\n664\n665\n694\n" >>tests/data/DISABLED
 printf "1446\n1459\n1583\n1725\n2004\n2007\n" >>tests/data/DISABLED
 printf "3021\n3022\n" >>tests/data/DISABLED
 %endif
 
+# temporarily disable test 3300 - https://github.com/curl/curl/pull/23869
+printf "3300\n" >>tests/data/DISABLED
+
 # test3026: avoid pthread_create() failure due to resource exhaustion on i386
 %ifarch %{ix86}
 sed -e 's|NUM_THREADS 1000$|NUM_THREADS 256|' \
@@ -386,7 +387,7 @@ for size in minimal full; do (
     export LD_LIBRARY_PATH="${PWD}/lib/.libs"
 
     # tests that must run in serial to avoid intermittent failures under parallel execution
-    serial_tests="766 1399 1451 2402 2404 2500 2502 3300 3301 3231 3232"
+    serial_tests="766 1399 1451 2402 2404 2500 2502 3301 3231 3232"
     serial_excludes=$(for t in $serial_tests; do printf ' !%s' "$t"; done)
     # run the bulk of tests in parallel, excluding serial ones
     # cap at 64 jobs to avoid overwhelming system resources on high-CPU machines
@@ -466,6 +467,9 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Wed Nov 25 2026 Jan Macku <jamacku@redhat.com> - 8.24.0~rc2-1
+- new upstream release candidate
+
 * Tue Nov 03 2026 Jan Macku <jamacku@redhat.com> - 8.23.0-3
 - conncache: poll an idle connection for pending input on every reuse
 

diff --git a/sources b/sources
index 8d09ad4..b91fa0f 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (curl-8.23.0.tar.xz.asc) = 5f971d815ae0ecf863d7dad8a60d6b867e46dc2222e8b1c24bc3980b607649f678d47e8937623abb66b60eb2b0c1ebf309855c6e1d93d70e2a8916fb75441575
-SHA512 (curl-8.23.0.tar.xz) = 69cf0feafdc79fbad007cf2fc977b777ce6ccb05d01afd17b5a42f8bedbfcc342fc3a48193faa7f3eafe6800cd7d07948916e8733db1b9de60287ed06219b840
+SHA512 (curl-8.24.0-rc2.tar.xz) = 853a2c391036ce57d13eb54357c8e01c8aa4db9a35f4f34ac45549ce75154c844fa972142a1c5d285f9cd846fc1d9d77ce3ad83c700bab4a58a6489fd4fcb4e1
+SHA512 (curl-8.24.0-rc2.tar.xz.asc) = a4423d11a23ac718af7601c78055972f0f4f11819d9b44dadd99468f10b9894e6c34705a87e628376abd1ed3f82c3a30df4e8888cf682d6e06f321949bf5f6a0

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

only message in thread, other threads:[~2026-11-25 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 14:20 [rpms/curl] rawhide: new upstream release - 8.24.0~rc2 Jan Macku

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