cURL / Mailing Lists / curl-users / Single Mail

curl-users

PATCH 7.7 persistant behavior

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 Mar 2001 08:45:40 +0100 (MET)

Hi

Curl 7.7 has a silly habit of reusing connections for multiple requests a
little bit too much. Correct this with the folllowing patch:

--- url.c 2001/03/15 14:38:30 1.107
+++ url.c 2001/03/23 07:43:46
@@ -936,9 +936,11 @@
           data->connects[i]=NULL; /* nothing here */
           continue; /* try another one now */
         }
+
+ *usethis = check;
+ return TRUE; /* yes, we found one to use! */
+
       }
- *usethis = check;
- return TRUE; /* yes, we found one to use! */
     }
     else { /* The requested needle connection is using a proxy,
               is the checked one using the same? */

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2001-03-23