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

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