public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: prevent an artificial timeout event due to stale speed-check data (#906031)
Date: Tue, 03 Nov 2026 12:35:07 GMT	[thread overview]
Message-ID: <179370930763.1.9272039425165228352.rpms-curl-97702c76ccf4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : 97702c76ccf45dd7d4a61fe047fabcd6105faa05
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2013-04-26T16:45:33+02:00
Stats  : +43/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/97702c76ccf45dd7d4a61fe047fabcd6105faa05?branch=curl-v8.23.0-3

Log:
prevent an artificial timeout event due to stale speed-check data (#906031)

---
diff --git a/0002-curl-7.30.0-b37b5233.patch b/0002-curl-7.30.0-b37b5233.patch
new file mode 100644
index 0000000..9ce955e
--- /dev/null
+++ b/0002-curl-7.30.0-b37b5233.patch
@@ -0,0 +1,35 @@
+From 7a90359b61407cc63e6a8337602ac8ed70775475 Mon Sep 17 00:00:00 2001
+From: Zdenek Pavlas <zpavlas@redhat.com>
+Date: Fri, 26 Apr 2013 14:56:38 +0200
+Subject: [PATCH] url: initialize speed-check data for file:// protocol
+
+... in order to prevent an artificial timeout event based on stale
+speed-check data from a previous network transfer.  This commit fixes
+a regression caused by 9dd85bced56f6951107f69e581c872c1e7e3e58e.
+
+Bug: https://bugzilla.redhat.com/906031
+
+[upstream commit b37b5233cab96b5b1f2ab7f6e0b9c3df77320bba]
+
+Signed-off-by: Kamil Dudka <kdudka@redhat.com>
+---
+ lib/url.c |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/lib/url.c b/lib/url.c
+index 4399162..19a3a38 100644
+--- a/lib/url.c
++++ b/lib/url.c
+@@ -5010,6 +5010,9 @@ static CURLcode create_conn(struct SessionHandle *data,
+                           -1, NULL); /* no upload */
+     }
+ 
++    /* since we skip do_init() */
++    Curl_speedinit(data);
++
+     return result;
+   }
+ #endif
+-- 
+1.7.1
+

diff --git a/curl.spec b/curl.spec
index e68dffc..992cf4d 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.30.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -10,6 +10,9 @@ Source2: curlbuild.h
 # prevent test-suite failure due to using non-default port ranges in tests
 Patch1: 0001-curl-7.30.0-ddbda328.patch
 
+# prevent an artificial timeout event due to stale speed-check data (#906031)
+Patch2: 0002-curl-7.30.0-b37b5233.patch
+
 # patch making libcurl multilib ready
 Patch101: 0101-curl-7.30.0-multilib.patch
 
@@ -104,6 +107,7 @@ documentation of the library, too.
 
 # upstream patches
 %patch1 -p1
+%patch2 -p1
 
 # Fedora patches
 %patch101 -p1
@@ -223,6 +227,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Fri Apr 26 2013 Kamil Dudka <kdudka@redhat.com> 7.30.0-2
+- prevent an artificial timeout event due to stale speed-check data (#906031)
+
 * Fri Apr 12 2013 Kamil Dudka <kdudka@redhat.com> 7.30.0-1
 - new upstream release (fixes CVE-2013-1944)
 - prevent test-suite failure due to using non-default port ranges in tests

                 reply	other threads:[~2026-11-03 12:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179370930763.1.9272039425165228352.rpms-curl-97702c76ccf4@fedoraproject.org \
    --to=kdudka@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox