Blame SOURCES/0024-curl-7.29.0-68f0166a.patch

9d7d3f
From 8f10bf46681c17c7dfc9c9109c36d6e3564bd4ed Mon Sep 17 00:00:00 2001
9d7d3f
From: Daniel Stenberg <daniel@haxx.se>
9d7d3f
Date: Thu, 15 May 2014 23:28:31 +0200
9d7d3f
Subject: [PATCH] HTTP: CREDSPERREQUEST is for HTTP too
9d7d3f
9d7d3f
Commit 517b06d657ace (in 7.36.0) that brought the CREDSPERREQUEST flag
9d7d3f
only set it for HTTPS, making HTTP less good at doing connection re-use
9d7d3f
than it should be. Now set it for HTTP as well.
9d7d3f
9d7d3f
Simple test case
9d7d3f
9d7d3f
"curl -v -u foo:bar localhost --next -u bar:foo localhos"
9d7d3f
9d7d3f
Bug: http://curl.haxx.se/mail/lib-2014-05/0127.html
9d7d3f
Reported-by: Kamil Dudka
9d7d3f
9d7d3f
Upstream-commit: 68f0166a92cff3660993645e9ad278b26d295832
9d7d3f
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
9d7d3f
---
9d7d3f
 lib/http.c | 2 +-
9d7d3f
 1 file changed, 1 insertion(+), 1 deletion(-)
9d7d3f
9d7d3f
diff --git a/lib/http.c b/lib/http.c
9d7d3f
index c007226..e2448bc 100644
9d7d3f
--- a/lib/http.c
9d7d3f
+++ b/lib/http.c
9d7d3f
@@ -118,7 +118,7 @@ const struct Curl_handler Curl_handler_http = {
9d7d3f
   ZERO_NULL,                            /* readwrite */
9d7d3f
   PORT_HTTP,                            /* defport */
9d7d3f
   CURLPROTO_HTTP,                       /* protocol */
9d7d3f
-  PROTOPT_NONE                          /* flags */
9d7d3f
+  PROTOPT_CREDSPERREQUEST               /* flags */
9d7d3f
 };
9d7d3f
 
9d7d3f
 #ifdef USE_SSL
9d7d3f
-- 
9d7d3f
2.1.0
9d7d3f