Skip to content

Commit 14d7f62

Browse files
committed
Revert "try patch 1"
This reverts commit 60171d9.
1 parent 60171d9 commit 14d7f62

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

curl.dev.patch

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,3 @@ index 975ef2a458..5d71f1bd08 100644
5151
return config;
5252
}
5353

54-
diff --git a/lib/conncache.c b/lib/conncache.c
55-
index d5770ef916..7dc21d967a 100644
56-
--- a/lib/conncache.c
57-
+++ b/lib/conncache.c
58-
@@ -536,6 +536,9 @@ bool Curl_cpool_conn_now_idle(struct Curl_easy *data,
59-
struct cpool *cpool = cpool_get_instance(data);
60-
bool kept = TRUE;
61-
62-
+ if(!data)
63-
+ return kept;
64-
+
65-
if(!data->multi->maxconnects) {
66-
unsigned int running = Curl_multi_xfers_running(data->multi);
67-
maxconnects = (running <= UINT_MAX / 4) ? running * 4 : UINT_MAX;

0 commit comments

Comments
 (0)