summaryrefslogtreecommitdiff
path: root/package/curl/patches/patch-lib_url_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/curl/patches/patch-lib_url_c')
-rw-r--r--package/curl/patches/patch-lib_url_c28
1 files changed, 0 insertions, 28 deletions
diff --git a/package/curl/patches/patch-lib_url_c b/package/curl/patches/patch-lib_url_c
deleted file mode 100644
index f4c934576..000000000
--- a/package/curl/patches/patch-lib_url_c
+++ /dev/null
@@ -1,28 +0,0 @@
---- curl-7.42.0.orig/lib/url.c 2015-04-22 07:55:54.000000000 +0200
-+++ curl-7.42.0/lib/url.c 2015-04-24 18:00:21.000000000 +0200
-@@ -3069,9 +3069,11 @@ ConnectionExists(struct SessionHandle *d
- struct connectdata *check;
- struct connectdata *chosen = 0;
- bool canPipeline = IsPipeliningPossible(data, needle);
-+#ifdef USE_NTLM
- bool wantNTLMhttp = ((data->state.authhost.want & CURLAUTH_NTLM) ||
- (data->state.authhost.want & CURLAUTH_NTLM_WB)) &&
- (needle->handler->protocol & PROTO_FAMILY_HTTP) ? TRUE : FALSE;
-+#endif
- struct connectbundle *bundle;
-
- *force_reuse = FALSE;
-@@ -3208,8 +3210,11 @@ ConnectionExists(struct SessionHandle *d
- continue;
- }
-
-- if((!(needle->handler->flags & PROTOPT_CREDSPERREQUEST)) ||
-- (wantNTLMhttp || check->ntlm.state != NTLMSTATE_NONE)) {
-+ if((!(needle->handler->flags & PROTOPT_CREDSPERREQUEST))
-+#ifdef USE_NTLM
-+ || (wantNTLMhttp || check->ntlm.state != NTLMSTATE_NONE)
-+#endif
-+ ) {
- /* This protocol requires credentials per connection or is HTTP+NTLM,
- so verify that we're using the same name and password as well */
- if(!strequal(needle->user, check->user) ||