Blame SOURCES/0007-curl-7.29.0-b37b5233.patch

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