summaryrefslogtreecommitdiffstats
path: root/curl-7.15.5-bz688871.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-24 18:59:40 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-24 18:59:40 +0200
commit46c63d5553c4f2d54b30679b6bfd22893fbb05f6 (patch)
treeae6557a386696721dbbf8991bd21958051083173 /curl-7.15.5-bz688871.patch
parent5f92f6832f1ee6d21ba25a5cb5c2d180f91a0ea5 (diff)
compat-libcurl3-7.15.5-2, sync with curl-7.15.5-15
Diffstat (limited to 'curl-7.15.5-bz688871.patch')
-rw-r--r--curl-7.15.5-bz688871.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/curl-7.15.5-bz688871.patch b/curl-7.15.5-bz688871.patch
new file mode 100644
index 0000000..5904fc7
--- /dev/null
+++ b/curl-7.15.5-bz688871.patch
@@ -0,0 +1,28 @@
+From e1e8d68d8d731ab38aa55328ab5ed32bd26d8c94 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Fri, 25 Aug 2006 13:53:20 +0000
+Subject: [PATCH] curl - rhbz #688871
+
+backport of upstream 2ff609d
+---
+ lib/multi.c | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/lib/multi.c b/lib/multi.c
+index 89a1f99..0bcc744 100644
+--- a/lib/multi.c
++++ b/lib/multi.c
+@@ -386,6 +386,10 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
+ if(easy) {
+ /* If the 'state' is not INIT or COMPLETED, we might need to do something
+ nice to put the easy_handle in a good known state when this returns. */
++ if(easy->state != CURLM_STATE_COMPLETED)
++ /* this handle is "alive" so we need to count down the total number of
++ alive connections when this is removed */
++ multi->num_alive--;
+
+ /* The timer must be shut down before easy->multi is set to NULL,
+ else the timenode will remain in the splay tree after
+--
+1.7.4.4
+