]> granicus.if.org Git - curl/commitdiff
Revert "Proxy-Connection: stop sending this header by default"
authorDaniel Stenberg <daniel@haxx.se>
Tue, 16 Aug 2016 06:36:04 +0000 (08:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 16 Aug 2016 06:36:04 +0000 (08:36 +0200)
This reverts commit 113f04e664b16b944e64498a73a4dab990fe9a68.

102 files changed:
lib/http.c
lib/http_proxy.c
tests/data/test1001
tests/data/test1002
tests/data/test1008
tests/data/test1021
tests/data/test1034
tests/data/test1035
tests/data/test1059
tests/data/test1060
tests/data/test1061
tests/data/test1077
tests/data/test1078
tests/data/test1087
tests/data/test1088
tests/data/test1092
tests/data/test1097
tests/data/test1098
tests/data/test1104
tests/data/test1106
tests/data/test1213
tests/data/test1214
tests/data/test1215
tests/data/test1216
tests/data/test1218
tests/data/test1228
tests/data/test1230
tests/data/test1232
tests/data/test1241
tests/data/test1314
tests/data/test1319
tests/data/test1320
tests/data/test1321
tests/data/test1331
tests/data/test1415
tests/data/test1421
tests/data/test1428
tests/data/test1509
tests/data/test1525
tests/data/test1526
tests/data/test1527
tests/data/test1528
tests/data/test16
tests/data/test162
tests/data/test165
tests/data/test167
tests/data/test168
tests/data/test169
tests/data/test170
tests/data/test171
tests/data/test179
tests/data/test183
tests/data/test184
tests/data/test185
tests/data/test2047
tests/data/test206
tests/data/test208
tests/data/test209
tests/data/test213
tests/data/test217
tests/data/test233
tests/data/test234
tests/data/test239
tests/data/test243
tests/data/test256
tests/data/test257
tests/data/test258
tests/data/test259
tests/data/test263
tests/data/test264
tests/data/test265
tests/data/test275
tests/data/test278
tests/data/test279
tests/data/test287
tests/data/test299
tests/data/test43
tests/data/test5
tests/data/test503
tests/data/test523
tests/data/test540
tests/data/test547
tests/data/test548
tests/data/test549
tests/data/test550
tests/data/test551
tests/data/test552
tests/data/test555
tests/data/test561
tests/data/test563
tests/data/test590
tests/data/test63
tests/data/test79
tests/data/test80
tests/data/test81
tests/data/test82
tests/data/test83
tests/data/test84
tests/data/test85
tests/data/test93
tests/data/test94
tests/data/test95

index 378d8f7739f4ee9fe07ca0586e0547dc7e3c6d78..55d2a853a2b97681adb2f052c48a97159b7ad4bc 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -2305,6 +2305,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
                      "%s" /* TE: */
                      "%s" /* accept-encoding */
                      "%s" /* referer */
+                     "%s" /* Proxy-Connection */
                      "%s",/* transfer-encoding */
 
                      ftp_typecode,
@@ -2327,6 +2328,10 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
                      conn->allocptr.accept_encoding:"",
                      (data->change.referer && conn->allocptr.ref)?
                      conn->allocptr.ref:"" /* Referer: <data> */,
+                     (conn->bits.httpproxy &&
+                      !conn->bits.tunnel_proxy &&
+                      !Curl_checkProxyheaders(conn, "Proxy-Connection:"))?
+                     "Proxy-Connection: Keep-Alive\r\n":"",
                      te
       );
 
index c6b05e30da7c22dbbcf4206ba85a12f031ec3803..87f86b0c42a7fcfb59532ad679083245db9a516d 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -160,6 +160,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
 
       if(!result) {
         char *host=(char *)"";
+        const char *proxyconn="";
         const char *useragent="";
         const char *http = (conn->proxytype == CURLPROXY_HTTP_1_0) ?
           "1.0" : "1.1";
@@ -185,6 +186,9 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
             return CURLE_OUT_OF_MEMORY;
           }
         }
+        if(!Curl_checkProxyheaders(conn, "Proxy-Connection:"))
+          proxyconn = "Proxy-Connection: Keep-Alive\r\n";
+
         if(!Curl_checkProxyheaders(conn, "User-Agent:") &&
            data->set.str[STRING_USERAGENT])
           useragent = conn->allocptr.uagent;
@@ -194,13 +198,15 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
                            "CONNECT %s HTTP/%s\r\n"
                            "%s"  /* Host: */
                            "%s"  /* Proxy-Authorization */
-                           "%s", /* User-Agent */
+                           "%s"  /* User-Agent */
+                           "%s", /* Proxy-Connection */
                            hostheader,
                            http,
                            host,
                            conn->allocptr.proxyuserpwd?
                            conn->allocptr.proxyuserpwd:"",
-                           useragent);
+                           useragent,
+                           proxyconn);
 
         if(host && *host)
           free(host);
index 60e68a894736498e857faaa44432ef4f78c035fd..91b13203eba7bb302a0f3ad02a74f58ba50327c8 100644 (file)
@@ -89,6 +89,7 @@ Host: %HOSTIP:%HTTPPORT
 Content-Range: bytes 2-4/5\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 0\r
 \r
 GET http://%HOSTIP:%HTTPPORT/1001 HTTP/1.1\r
@@ -96,6 +97,7 @@ Host: %HOSTIP:%HTTPPORT
 Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1001", response="6af4d89c952f4dd4cc215a6878dc499d"\r
 Content-Range: bytes 2-4/5\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 3\r
 Expect: 100-continue\r
 \r
index 83b87b9e45aaf6113664e9e1cd06ed7b438f5bcb..83cce6e4475a34a4751473eeb4c67f27ca38096a 100644 (file)
@@ -88,6 +88,7 @@ Host: %HOSTIP:%HTTPPORT
 Content-Range: bytes 2-4/5\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 0\r
 \r
 GET http://%HOSTIP:%HTTPPORT/1002.upload1 HTTP/1.1\r
@@ -95,6 +96,7 @@ Host: %HOSTIP:%HTTPPORT
 Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1002.upload1", response="198aa9b6acb4b0c71d02a197a5e41f54"\r
 Content-Range: bytes 2-4/5\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 3\r
 Expect: 100-continue\r
 \r
@@ -105,6 +107,7 @@ Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", u
 Content-Range: bytes 2-4/5\r
 User-Agent: curl/7.16.1\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 3\r
 Expect: 100-continue\r
 \r
index 1dac3956fb86e78044703f90546d70093c2e1072..bcc503e5a70ecdaaf393d9d1e5a81520c35baffb 100644 (file)
@@ -114,10 +114,12 @@ chkhostname curlhost
 CONNECT test.remote.example.com.1008:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.1008:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.example.com.1008:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.1008:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET /path/10080002 HTTP/1.1\r
 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4\r
index 3bd64bdd3b0bcdd61dae3fc86d3e1d17b1acf0a8..3ac9e12e62eeb1957dda35773e77e5e51abd002a 100644 (file)
@@ -119,14 +119,17 @@ chkhostname curlhost
 <protocol>
 CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.1021:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.1021:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.1021:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET /path/10210002 HTTP/1.1\r
 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4\r
index f1426849771613e7686ab6c7ecf65a3e380059f6..c47574051328a2808fb1195be45342da2a97364b 100644 (file)
@@ -55,6 +55,7 @@ http://invalid-utf8-
 GET http://invalid-utf8-â\90.local/page/1034 HTTP/1.1\r
 Host: invalid-utf8-â\90.local\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index e1c2af637d6b27b5cfb57832b9f01fb346fb055b..20b434c34142834372ead7ab474f1b00003135c6 100644 (file)
@@ -52,6 +52,7 @@ http://too-long-IDN-name-c
 GET http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/1035 HTTP/1.1\r
 Host: too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index ee4e6a78abc2240dd668044e5788b23fa0c1e25b..6820ea6791eaef7d2177f50c2940222272e1f3a9 100644 (file)
@@ -51,6 +51,7 @@ ftp://test-number:1059/wanted/page -p -x %HOSTIP:%HTTPPORT
 <protocol>
 CONNECT test-number:1059 HTTP/1.1\r
 Host: test-number:1059\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 1094792af697f0d236077a4594f1c535ec798e17..e4aea658931fc473e60403d189c5c645aa339666 100644 (file)
@@ -887,10 +887,12 @@ http://test.remote.haxx.se.1060:8990/path/10600002 --proxy http://%HOSTIP:%HTTPP
 <protocol>
 CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1\r
 Host: test.remote.haxx.se.1060:8990\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1\r
 Host: test.remote.haxx.se.1060:8990\r
 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1060:8990", response="e1fbed39c26f4efe284adc0e576ff638"\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET /path/10600002 HTTP/1.1\r
 Host: test.remote.haxx.se.1060:8990\r
index 4f53a87a96b06ec0aaa301dc71a6759e2a0d2137..a55a272954160226ef5320e3baedbde94782ac84 100644 (file)
@@ -892,10 +892,12 @@ http://test.remote.haxx.se.1061:8990/path/10610002 --proxy http://%HOSTIP:%HTTPP
 <protocol>
 CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1\r
 Host: test.remote.haxx.se.1061:8990\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1\r
 Host: test.remote.haxx.se.1061:8990\r
 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1061:8990", response="4e23449fa93224834299e7282a70472c"\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET /path/10610002 HTTP/1.1\r
 Host: test.remote.haxx.se.1061:8990\r
index e71d756949374c535d536acf0dd18867d1166c83..a3c90245a7438b30e153badf5b16e76067c47ced 100644 (file)
@@ -30,6 +30,7 @@ Server: test-server/fake
 Content-Type: text/plain\r
 Content-Length: 9\r
 Funny-head: yesyes\r
+Proxy-Connection: Keep-Alive\r
 \r
 contents
 </data2>
@@ -62,10 +63,12 @@ FTP over HTTP proxy with downgrade to HTTP 1.0
 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1077 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/10770002 HTTP/1.0\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index f04bad36fd71f123f47ec9f96ea6585a67815435..a9bb771be7110cbb591c09e0988b27792736affb 100644 (file)
@@ -56,6 +56,7 @@ HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0
 <proxy>
 CONNECT %HOSTIP.1078:%HTTPPORT HTTP/1.0\r
 Host: %HOSTIP.1078:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 <protocol>
index 1fb13cbef5783885d348f229468cdf7b2852d25d..d228976ac97b241ff79e6ccc9e1110f0f2801e96 100644 (file)
@@ -92,15 +92,18 @@ http://first.host.it.is/we/want/that/page/10871000 -x %HOSTIP:%HTTPPORT --user i
 GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1\r
 Host: first.host.it.is\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1\r
 Host: first.host.it.is\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://goto.second.host.now/10871002 HTTP/1.1\r
 Host: goto.second.host.now\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 9801fff14247e81e9cc978814d6fd5dd04825278..a807ce9e50168a3ef9c19a6b34dfbbb10b3b6cc2 100644 (file)
@@ -93,16 +93,19 @@ http://first.host.it.is/we/want/that/page/10881000 -x %HOSTIP:%HTTPPORT --user i
 GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1\r
 Host: first.host.it.is\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1\r
 Host: first.host.it.is\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://goto.second.host.now/10881002 HTTP/1.1\r
 Host: goto.second.host.now\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index ce843f000d21c6958b3c2db6c0c3850cdfdc99eb..adef4320b8fcb40cd4677efa1bffca19b7f96c6b 100644 (file)
@@ -49,6 +49,7 @@ FTP with type=i over HTTP proxy
 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 81ea8552d41622c7d21d071a3dc3acdbd3258ecd..3b733a55a99add27afeb0b44919f4bff99b623f3 100644 (file)
@@ -67,6 +67,7 @@ CONNECT test.a.galaxy.far.far.away.1097:%HTTPPORT HTTP/1.1
 Host: test.a.galaxy.far.far.away.1097:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.19.5-CVS (i686-pc-linux-gnu) libcurl/7.19.5-CVS OpenSSL/0.9.8g zlib/1.2.3.3 c-ares/1.6.1-CVS libidn/1.12 libssh2/1.0.1_CVS\r
+Proxy-Connection: Keep-Alive\r
 \r
 POST /1097 HTTP/1.1\r
 User-Agent: curl/7.19.5-CVS (i686-pc-linux-gnu) libcurl/7.19.5-CVS OpenSSL/0.9.8g zlib/1.2.3.3 c-ares/1.6.1-CVS libidn/1.12 libssh2/1.0.1_CVS\r
index 70a6f3913eee490a3b7ba00e4f8dfe28dc4ed22c..9805648102a09bc6b07830df9d746b48552bebfd 100644 (file)
@@ -49,10 +49,12 @@ ftp://ftp-site/moo/1098 ftp://ftp-site/moo/1098 --proxy http://%HOSTIP:%HTTPPORT
 GET ftp://ftp-site/moo/1098 HTTP/1.1\r
 Host: ftp-site:21\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET ftp://ftp-site/moo/1098 HTTP/1.1\r
 Host: ftp-site:21\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 <stdout>
index 4df81a1a2c69bb1db4f544eef38093639893c867..21efe3c15e1da4d55738e82b392d0aea8713eebd 100644 (file)
@@ -72,10 +72,12 @@ http://%HOSTIP:%HTTPPORT/want/1104 -L -x %HOSTIP:%HTTPPORT -c log/cookies.jar
 GET http://%HOSTIP:%HTTPPORT/want/1104 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://%HOSTIP:%HTTPPORT/want/data/11040002 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Cookie: test2=true\r
 \r
 </protocol>
index a2adbbb3fff90a192e24590f0026dbc9893e2917..0c6bec1773bbb47dd3fb5023146b917d650a4a11 100644 (file)
@@ -50,6 +50,7 @@ ftp://%HOSTIP:23456/1106
 GET ftp://%HOSTIP:23456/1106 HTTP/1.1\r
 Host: %HOSTIP:23456\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index bc146b016a0649efb850e94b890fb17a9044cfe3..4f22f0d92dc539761574c1ef6159d436a47c948b 100644 (file)
@@ -46,6 +46,7 @@ HTTP with proxy and host-only URL
 GET http://we.want.that.site.com.1213/ HTTP/1.1\r
 Host: we.want.that.site.com.1213\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index e703f7a911e500ac47d50d539a72b02ed108913f..3eeb3e3ad3d06a395a15281c63be6fb162c25512 100644 (file)
@@ -46,6 +46,7 @@ HTTP with proxy and URL with ? and no slash separator
 GET http://we.want.that.site.com.1214/?moo=foo HTTP/1.1\r
 Host: we.want.that.site.com.1214\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index e22591c90601ae929084b3a9211f361d964dbaaf..f8c52a9a140f226d88ce54d7bda6eab8abd245a1 100644 (file)
@@ -92,12 +92,14 @@ Host: %HOSTIP:%HTTPPORT
 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.30.0-DEV\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://%HOSTIP:%HTTPPORT/1215 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
 User-Agent: curl/7.30.0-DEV\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 6e45ac6a3e378bc09a994a17629ea82e61abfd90..5beda797d9ea3fb75530615acffc9dfb370c2d23 100644 (file)
@@ -50,11 +50,13 @@ example.fake        TRUE    /c      FALSE   2139150993      moo3    indeed
 GET http://example.fake/c/1216 HTTP/1.1\r
 Host: example.fake\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Cookie: moo2=indeed; moo3=indeed\r
 \r
 GET http://bexample.fake/c/1216 HTTP/1.1\r
 Host: bexample.fake\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 9c2fc0389a4404fc7b2ad919f11ebf465333629b..e3f1f6d04c956b44bbe9c6241d2a8b194f75c04e 100644 (file)
@@ -43,15 +43,18 @@ http://example.fake/c/1218 http://example.fake/c/1218 http://bexample.fake/c/121
 GET http://example.fake/c/1218 HTTP/1.1\r
 Host: example.fake\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://example.fake/c/1218 HTTP/1.1\r
 Host: example.fake\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Cookie: bug=fixed\r
 \r
 GET http://bexample.fake/c/1218 HTTP/1.1\r
 Host: bexample.fake\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index d0af517de769a9243fcfd3920f8ed38facc00a1c..a7e56a7975926de20a1981da5a9dd70de7e23b1c 100644 (file)
@@ -42,10 +42,12 @@ http://example.fake/hoge/1228 http://example.fake/hogege/ -b nonexisting -x %HOS
 GET http://example.fake/hoge/1228 HTTP/1.1\r
 Host: example.fake\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://example.fake/hogege/ HTTP/1.1\r
 Host: example.fake\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Cookie: path1=root\r
 \r
 </protocol>
index 8ce4c4ee630f41044ad8a6f016654757110b0e51..3c1d3d448a33e97ffe149ce43faa1353861646a1 100644 (file)
@@ -69,6 +69,7 @@ http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/1230 -p -x %HOSTIP:%HTTPPORT
 <protocol>
 CONNECT [1234:1234:1234::4ce]:%HTTPPORT HTTP/1.1\r
 Host: [1234:1234:1234::4ce]:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET /wanted/page/1230 HTTP/1.1\r
 Host: [1234:1234:1234::4ce]:%HTTPPORT\r
index 1c5bc2031be3cf4ffc4f5212d05a3330065d9e1a..ead43365f8f87a30e2a719f9b95d0fd34f950fbc 100644 (file)
@@ -53,10 +53,12 @@ HTTP URL with dotdot removal from path using an HTTP proxy
 GET http://test.remote.haxx.se.1232:8990/hej/but/1232?stupid=me/../1232 HTTP/1.1\r
 Host: test.remote.haxx.se.1232:8990\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://test.remote.haxx.se.1232:8990/hej/but/12320001 HTTP/1.1\r
 Host: test.remote.haxx.se.1232:8990\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 5a127326ded64201529f106bb097ce88abf573c3..aaa568868a88353545d44780e3adc4e74636ca53 100644 (file)
@@ -52,10 +52,12 @@ HTTP _without_ dotdot removal
 GET http://test.remote.haxx.se.1241:8990/../../hej/but/who/../1241?stupid=me/../1241 HTTP/1.1\r
 Host: test.remote.haxx.se.1241:8990\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://test.remote.haxx.se.1241:8990/../../hej/but/who/../12410001 HTTP/1.1\r
 Host: test.remote.haxx.se.1241:8990\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 11e128a85fa2c11e0029417dffbb319001a90a25..078ada64adaea1f00925648acd1f5793ab4eb91d 100644 (file)
@@ -67,10 +67,12 @@ http://firstplace.example.com/want/1314 -L -x http://%HOSTIP:%HTTPPORT
 GET http://firstplace.example.com/want/1314 HTTP/1.1\r
 Host: firstplace.example.com\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://somewhere.example.com/reply/1314 HTTP/1.1\r
 Host: somewhere.example.com\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index a97da9c41a71d8345490e8158741db50ff1614ae..0520b1b328b886ffd78badd971fa4bec4c88a04c 100644 (file)
@@ -79,6 +79,7 @@ QUIT
 CONNECT pop.1319:%POP3PORT HTTP/1.1\r
 Host: pop.1319:%POP3PORT\r
 User-Agent: curl/7.24.0-DEV (i686-pc-linux-gnu) libcurl/7.24.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 c-ares/1.7.6-DEV libidn/1.23 libssh2/1.4.0_DEV librtmp/2.2e\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 </verify>
index 609f4c2f77cf76c3e1ed29d91ffcaf3e323b4544..7a15f8091af64445cec160ccd9a74d9e45725bd5 100644 (file)
@@ -66,6 +66,7 @@ body
 CONNECT smtp.1320:%SMTPPORT HTTP/1.1\r
 Host: smtp.1320:%SMTPPORT\r
 User-Agent: curl/7.24.0-DEV (i686-pc-linux-gnu) libcurl/7.24.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 c-ares/1.7.6-DEV libidn/1.23 libssh2/1.4.0_DEV librtmp/2.2e\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 </verify>
index b5ad277b05e3e5704caa6f077dd22883bc33c35f..266fd8828957ff583d52b08edfbcc3dbf8a29e98 100644 (file)
@@ -75,6 +75,7 @@ A005 LOGOUT
 CONNECT imap.1321:%IMAPPORT HTTP/1.1\r
 Host: imap.1321:%IMAPPORT\r
 User-Agent: curl/7.24.0-DEV (i686-pc-linux-gnu) libcurl/7.24.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 c-ares/1.7.6-DEV libidn/1.23 libssh2/1.4.0_DEV librtmp/2.2e\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 </verify>
index 837ef8dd7bbda13c6afb2751e58875fa62fa89fe..3299df469c0e040213560f41b3f418c9afa7521e 100644 (file)
@@ -75,11 +75,13 @@ HTTP --proxy-anyauth and 407 with cookies
 GET http://z.x.com/1331 HTTP/1.1\r
 Host: z.x.com\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://z.x.com/1331 HTTP/1.1\r
 Host: z.x.com\r
 Proxy-Authorization: Basic bXluYW1lOm15cGFzc3dvcmQ=\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Cookie: proxycookie=weirdo\r
 \r
 </protocol>
index 37cfb073b6591b80781151b3b6027c8a822c4ab6..5604404079f153f6ff81dae18ff70d4a6be5b2ce 100644 (file)
@@ -57,6 +57,7 @@ http://example.com/we/want/1415 -b none -c log/jar1415.txt -x %HOSTIP:%HTTPPORT
 GET http://example.com/we/want/1415 HTTP/1.1\r
 Host: example.com\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 
index 889c938db7585f308c0cd2d3aaf9e4a0a6fd00e4..6c59b2160d572a0db3f7f0428792ff895124994b 100644 (file)
@@ -59,10 +59,12 @@ Content-Length: 6
 GET http://test.remote.haxx.se.1421:8990/ HTTP/1.1\r
 Host: test.remote.haxx.se.1421:8990\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://different.remote.haxx.se.1421:8990/ HTTP/1.1\r
 Host: different.remote.haxx.se.1421:8990\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 [DISCONNECT]
 </protocol>
index 60fb8a93e4586363f123edebda1cc898a08699be..59041ec9620f5e4df0fcd09a3845f713a0cba9bf 100644 (file)
@@ -64,6 +64,7 @@ http://test.1428:%HTTPPORT/we/want/that/page/1428 -p -x %HOSTIP:%PROXYPORT --use
 CONNECT test.1428:%HTTPPORT HTTP/1.1\r
 Host: test.1428:%HTTPPORT\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
+Proxy-Connection: Keep-Alive\r
 header-type: proxy\r
 \r
 </proxy>
index 18eb07f1ec8d78a64278f53e6cbc355a6addc8ca..b4bfc660309257389df48fbb57bba3ebaf898efb 100644 (file)
@@ -74,6 +74,7 @@ moo
 <proxy>
 CONNECT the.old.moo.1509:%HTTPPORT HTTP/1.1\r
 Host: the.old.moo.1509:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 <protocol>
index d8f68838db5ee5ae1ce546d32f3699175017639a..0560d5c1a85001495c19577175b4f66257949e9e 100644 (file)
@@ -58,6 +58,7 @@ CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED
 <proxy>
 CONNECT the.old.moo.1525:%HTTPPORT HTTP/1.1\r
 Host: the.old.moo.1525:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 User-Agent: Http Agent\r
 \r
 </proxy>
index 9f5d09e6d88dd8ea9b03eb0ba96f9e232b25a567..aa111c890e3f795be044975b4bff8dc67f0dbfb1 100644 (file)
@@ -58,6 +58,7 @@ CURLOPT_PROXYHEADER: separate host/proxy headers
 <proxy>
 CONNECT the.old.moo.1526:%HTTPPORT HTTP/1.1\r
 Host: the.old.moo.1526:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 User-Agent: Proxy Agent\r
 \r
 </proxy>
index 69ae6e4a060c80ae164e62a14f903e3abd15f923..e8d52794b9c3902a941efcb6f5411891dcee267c 100644 (file)
@@ -57,6 +57,7 @@ Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED
 <proxy>
 CONNECT the.old.moo.1527:%HTTPPORT HTTP/1.1\r
 Host: the.old.moo.1527:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 User-Agent: Http Agent\r
 Expect: 100-continue\r
 \r
index e60f6002607c0bb3f6b5837fe90eccc56898775e..876806af4c012bead7cada915430e8e2dfba27a1 100644 (file)
@@ -51,6 +51,7 @@ Separately specified proxy/server headers sent in a proxy GET
 GET http://the.old.moo:%HTTPPORT/1528 HTTP/1.1\r
 Host: the.old.moo:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 User-Agent: Http Agent\r
 Proxy-User-Agent: Http Agent2\r
 \r
index 9d9a9cc1c2546076b7b5510d2a847f4d252cdbfd..15f4c7a7b978531c8bd4c8a435031aa5d718e2fc 100644 (file)
@@ -45,6 +45,7 @@ GET http://we.want.that.site.com/16 HTTP/1.1
 Host: we.want.that.site.com\r
 Proxy-Authorization: Basic ZmFrZUB1c2VyOmxvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw==\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index cc4c82d45b2a2c221094edc6e9ae3fbc4fe61729..ee2f40aa7503e83746d465abdf1088a00ecba95a 100644 (file)
@@ -51,6 +51,7 @@ Host: %HOSTIP:%HTTPPORT
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 <errorcode>
index b475fdef15300201167bf23792d0b372cd0db5a6..ddfe1e9dc6f24ad86f6224ff2a64f87c93d370c9 100644 (file)
@@ -51,6 +51,7 @@ http://www.
 GET http://www.xn--4cab6c.se/page/165 HTTP/1.1\r
 Host: www.xn--4cab6c.se\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 76f9e5c7f8927905fbb68f1f3507ee9eabfaf255..0b14996a33f0c412e41b583bd75d9cf9ef7207fd 100644 (file)
@@ -65,6 +65,7 @@ Host: data.from.server.requiring.digest.hohoho.com
 Proxy-Authorization: Basic Zm9vOmJhcg==\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.2.0 libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://data.from.server.requiring.digest.hohoho.com/167 HTTP/1.1\r
 Host: data.from.server.requiring.digest.hohoho.com\r
@@ -72,6 +73,7 @@ Proxy-Authorization: Basic Zm9vOmJhcg==
 Authorization: Digest username="digest", realm="weirdorealm", nonce="12345", uri="/167", response="13c7c02a252cbe1c46d8669898a3be26"\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.2.0 libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 0f4e02573fcf3a97f8fcb937d2ff2e02e05736f1..20e0b6d9c28e5027b5535e748bbd4c069420e509 100644 (file)
@@ -78,12 +78,14 @@ GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1
 Host: data.from.server.requiring.digest.hohoho.com\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.2.0 libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1\r
 Host: data.from.server.requiring.digest.hohoho.com\r
 Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/168", response="fb8608e00ad9239a3dedb14bc8575976"\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.2.0 libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1\r
 Host: data.from.server.requiring.digest.hohoho.com\r
@@ -91,6 +93,7 @@ Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345",
 Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/168", response="ca87f2d768a231e2d637a55698d5c416"\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index be5b4c6d94bbb8d96af49cd65bb03fd97b93f3ae..73ca9bd20c5c4f95676c8f998dfd83897b702b47 100644 (file)
@@ -108,18 +108,21 @@ Host: data.from.server.requiring.digest.hohoho.com
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1\r
 Host: data.from.server.requiring.digest.hohoho.com\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1\r
 Host: data.from.server.requiring.digest.hohoho.com\r
 Authorization: Digest username="digest", realm="r e a l m", nonce="abcdef", uri="/169", response="95d48591985a03c4b49cb962aa7bd3e6"\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 48a263f464b5fa6571049e05e61a547231e36097..8ce7774f94d43e592ca9a802f6463a41f5ce385e 100644 (file)
@@ -40,6 +40,7 @@ Host: a.galaxy.far.far.away
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 libidn/0.4.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 0\r
 \r
 </protocol>
index 3b9f7ba8cee58eca4b96569a8fc6fa3cecdba0fd..09e48b70af119b107abd2a5b5334363ff28fa044 100644 (file)
@@ -44,6 +44,7 @@ HTTP, get cookie with dot prefixed full domain
 GET http://z.x.com/171 HTTP/1.1\r
 Host: z.x.com\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 <file name="log/jar171" mode="text">
index 1cd5badf1cffae8f14ef350d7b1bed3f063ddbcd..f8f7811a7e7c1814f0c372aebf8d46a539b572f5 100644 (file)
@@ -49,6 +49,7 @@ supertrooper.fake     FALSE   /c      FALSE   2139150993      moo2    indeed
 GET http://supertrooper.fake/c/179 HTTP/1.1\r
 Host: supertrooper.fake\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Cookie: moo2=indeed\r
 \r
 </protocol>
index b44710998d70e01afbbbdd51ca396e81d55251be..f34dc0c98743e91126029265a87dc321aac0fed8 100644 (file)
@@ -42,11 +42,13 @@ GET http://deathstar.another.galaxy/183 HTTP/1.1
 User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6\r
 Host: deathstar.another.galaxy\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://a.galaxy.far.far.away/183 HTTP/1.1\r
 User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6
 Host: a.galaxy.far.far.away\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 
index 9cadc8290b3b1be5bdfc961cd57b6437cc2c25a0..8b09dde28eee584a6626bcb26852ee4ac2361e6e 100644 (file)
@@ -62,10 +62,12 @@ GET http://deathstar.another.galaxy/184 HTTP/1.1
 Host: another.visitor.stay.a.while.stay.foreeeeeever\r
 User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://yet.another.host/184 HTTP/1.1\r
 Host: yet.another.host\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 
index dbef6e7ea45825cd2775b5fd3b99427cb01c28a9..298dd49ced641bdc0189e3995fc63f0a4d1b0b0c 100644 (file)
@@ -62,10 +62,12 @@ GET http://deathstar.another.galaxy/185 HTTP/1.1
 Host: another.visitor.stay.a.while.stay.foreeeeeever\r
 User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://deathstar.another.galaxy/go/west/185 HTTP/1.1\r
 Host: another.visitor.stay.a.while.stay.foreeeeeever\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 
index a8cca2f40136f00c45f78db0dadb3aab5a1e6c48..4422978015d2d401a52446aaab917af9930a86ef 100644 (file)
@@ -63,10 +63,12 @@ http://åäö.se/2047 -x %HOSTIP:%HTTPPORT -w "%{num_connects}\n%{num_redirects}
 GET http://xn--4cab6c.se/2047 HTTP/1.1\r
 Host: xn--4cab6c.se\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://xn--4cab6c.se/20470001 HTTP/1.1\r
 Host: xn--4cab6c.se\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 
index efbc56e0cbb9fca3531be99359160b629c20ac74..5f0c885625d24f632bd3fbb784ee9da313368b86 100644 (file)
@@ -90,10 +90,12 @@ http://test.remote.haxx.se.206:8990/path/2060002 --proxy http://%HOSTIP:%HTTPPOR
 <protocol>
 CONNECT test.remote.haxx.se.206:8990 HTTP/1.1\r
 Host: test.remote.haxx.se.206:8990\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.haxx.se.206:8990 HTTP/1.1\r
 Host: test.remote.haxx.se.206:8990\r
 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:8990", response="003e36decb4dbf6366b3ecb9b87c24ec"\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET /path/2060002 HTTP/1.1\r
 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4\r
index fb4c0ea13afde3b3baea2c317c832f593faad128..afb2566b5e36b96c6447ac7dfb6dd74ecf44adb8 100644 (file)
@@ -57,6 +57,7 @@ PUT ftp://daniel:mysecret@host.com/we/want/208 HTTP/1.1
 Host: host.com:21\r
 Authorization: Basic ZGFuaWVsOm15c2VjcmV0\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 78\r
 Expect: 100-continue\r
 \r
index f868541c6225bff717fcd318cc0616de40896a7e..961eba1a204081b348d98e04f4591ceed06ce152 100644 (file)
@@ -104,10 +104,12 @@ chkhostname curlhost
 CONNECT test.remote.example.com.209:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.209:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.example.com.209:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.209:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET /path/2090002 HTTP/1.1\r
 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4\r
index 7ceed9849a4db12e80013413a86f5da4331480db..edbb6a6f38f4818759442d1f94ba0fbb9f5e91b0 100644 (file)
@@ -104,10 +104,12 @@ chkhostname curlhost
 CONNECT test.remote.example.com.213:%HTTPPORT HTTP/1.0\r
 Host: test.remote.example.com.213:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.example.com.213:%HTTPPORT HTTP/1.0\r
 Host: test.remote.example.com.213:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
+Proxy-Connection: Keep-Alive\r
 \r
 POST /path/2130002 HTTP/1.1\r
 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4\r
index 0e0c0add1e8f1737e9968587f5e2c95ff4a7dc6a..f10df566b7b9fd02f395b38fe37e226d2010c81d 100644 (file)
@@ -44,6 +44,7 @@ http://test.remote.example.com.217:%HTTPPORT/path/2170002 --proxy http://%HOSTIP
 <protocol>
 CONNECT test.remote.example.com.217:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.217:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 # CURLE_RECV_ERROR
index 996855d592879653453ad881cc074ffb3fbc3c08..b631e52cf9c5b50ca65fedcac83f6cd8daa89ceb 100644 (file)
@@ -81,11 +81,13 @@ Host: first.host.it.is
 Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://goto.second.host.now/2330002 HTTP/1.1\r
 Host: goto.second.host.now\r
 Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index f7da2b95e88417d35766bc776f95690ac974a11f..1d2e05b39cd12914fba58007b60b30f0551a57f2 100644 (file)
@@ -83,12 +83,14 @@ Host: first.host.it.is
 Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://goto.second.host.now/2340002 HTTP/1.1\r
 Host: goto.second.host.now\r
 Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 275c81b3c3105afb82d9d8edf8bf68440a3b475f..6b92f07f7352533ee90d7ca790d9f7afd3234869 100644 (file)
@@ -83,6 +83,7 @@ Host: %HOSTIP:%HTTPPORT
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -91,6 +92,7 @@ Host: %HOSTIP:%HTTPPORT
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 6\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
index bc09286ee9c40d538f29804499f12a386b8a1d1c..3496055d1314aea4f3bb57922d499ee2b7f25890 100644 (file)
@@ -103,6 +103,7 @@ POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
 Host: %HOSTIP:%HTTPPORT\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 6\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -111,6 +112,7 @@ Host: %HOSTIP:%HTTPPORT
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -119,6 +121,7 @@ Host: %HOSTIP:%HTTPPORT
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 6\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
index 0acd9db123d582d07558482524bede81acd9dee0..2b96ecf3d6c06731b8b1212defaa666d94838074 100644 (file)
@@ -51,6 +51,7 @@ Host: %HOSTIP:%HTTPPORT
 Proxy-Authorization: Basic ZGFuaWVsOnN0ZW5iZXJn\r
 Range: bytes=78-\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 
index 45dcbd556f99ff8d48aa9d23f512f82d3206ce16..502448ddbf5ee1bd1013fbc5c726956e1f152b1f 100644 (file)
@@ -92,17 +92,20 @@ Host: supersite.com
 Authorization: Basic dXNlcjE6cGFzc3dkMQ==\r
 User-Agent: curl/7.14.0-CVS (i686-pc-linux-gnu) libcurl/7.14.0-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://anotherone.com/2570002 HTTP/1.1\r
 Host: anotherone.com\r
 Authorization: Basic dXNlcjI6cGFzc3dkMg==\r
 User-Agent: curl/7.14.0-CVS (i686-pc-linux-gnu) libcurl/7.14.0-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://athird.com/2570003 HTTP/1.1\r
 Host: athird.com\r
 User-Agent: curl/7.14.0-CVS (i686-pc-linux-gnu) libcurl/7.14.0-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 82c6731cc4ddcfcc5a3d2227c9a853929286c5b8..98c34014182e45d9fdf7bb873b2390b4e2145bcc 100644 (file)
@@ -20,6 +20,7 @@ HTTP/1.1 407 no, tell me who you are first swsclose
 Date: Thu, 09 Nov 2010 14:49:00 GMT
 Server: test-server/fake
 Proxy-Authenticate: Digest realm="many secrets", nonce="911"
+Proxy-Connection: close
 Content-Length: 0
 
 </data>
@@ -36,6 +37,7 @@ HTTP/1.1 407 no, tell me who you are first swsclose
 Date: Thu, 09 Nov 2010 14:49:00 GMT
 Server: test-server/fake
 Proxy-Authenticate: Digest realm="many secrets", nonce="911"
+Proxy-Connection: close
 Content-Length: 0
 
 HTTP/1.1 200 A OK\r
@@ -81,6 +83,7 @@ POST http://remotehost:54321/we/want/258 HTTP/1.1
 Host: remotehost:54321\r
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 409\r
 Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce\r
 \r
@@ -106,6 +109,7 @@ Host: remotehost:54321
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/258", response="2501654ca391f0b5c8c12a1da77e34cd"\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 409\r
 Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce\r
 \r
index 75b1f531c93febf8faf30f46c33b03b7781d4aa5..9532887a9662458a258200e351dbcc8d99b40616 100644 (file)
@@ -79,6 +79,7 @@ POST http://remotehost:54321/we/want/259 HTTP/1.1
 Host: remotehost:54321\r
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 409\r
 Expect: 100-continue\r
 Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce\r
@@ -105,6 +106,7 @@ Host: remotehost:54321
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/259", response="b479994d13e60f3aa192a67c5892ddc5"\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 409\r
 Expect: 100-continue\r
 Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce\r
index df0ba032f9d1924e48a1a53661dc14265d754a84..5088141f5007142b165406796f7dc06d18e97507 100644 (file)
@@ -47,6 +47,7 @@ HTTP-IPv6 GET with proxy specified using IPv6-numerical address
 GET http://veryveryremotesite.com/263 HTTP/1.1\r
 Host: veryveryremotesite.com\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 1174ca54dba6bbcb00ee5ab7736e8f4e9ff7c40a..f4d171a167870683f37cb5a44240be6b0772aa94 100644 (file)
@@ -42,6 +42,7 @@ GET http://we.want.that.site.com/264 HTTP/1.1
 Host: we.want.that.site.com\r
 Proxy-Authorization: Basic ZmFrZTp1c2Vy\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 79ab183f08612f713f79a4dead3dd007498590dc..1a162b808abd81e51bc02716564316236bd566e5 100644 (file)
@@ -107,10 +107,12 @@ chkhostname curlhost
 CONNECT test.remote.example.com.265:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.265:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
+Proxy-Connection: Keep-Alive\r
 \r
 CONNECT test.remote.example.com.265:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.265:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
+Proxy-Connection: Keep-Alive\r
 \r
 POST /path/2650002 HTTP/1.1\r
 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4\r
index 60004548219002b37e53ef811e3c06275073865a..802c4bbccecf79a33fa4ea2abaae2370355c6c65 100644 (file)
@@ -69,6 +69,7 @@ CONNECT remotesite.com.275:%HTTPPORT HTTP/1.1
 Host: remotesite.com.275:%HTTPPORT\r
 Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 <protocol>
index e6f1ef705275a4c90e0a8dd3b51cfd0cdeaa2f91..3112264a3f87039fea661d10088df549dc32cf9f 100644 (file)
@@ -42,6 +42,7 @@ GET http://we.want.that.site.com/278 HTTP/1.1
 Host: we.want.that.site.com\r
 Proxy-Authorization: Basic ZmFrZTo=\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 5005daa5a60f230aa551dd9c3924f37083881f33..47f8b687eb2a764a9b52b07e7b222a1ee2fd3f31 100644 (file)
@@ -43,6 +43,7 @@ GET http://we.want.that.site.com/279 HTTP/1.1
 Host: we.want.that.site.com\r
 Proxy-Authorization: Basic ZmFrZTo=\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 526446f40fb17899d0e73319534dfbf15259eb51..6772e220f587b8f97a1b895c072386736d3ad68c 100644 (file)
@@ -37,6 +37,7 @@ http://test.remote.example.com.287:%HTTPPORT/path/287 -H "User-Agent: looser/201
 <protocol>
 CONNECT test.remote.example.com.287:%HTTPPORT HTTP/1.1\r
 Host: test.remote.example.com.287:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 User-Agent: looser/2007\r
 \r
 </protocol>
index a7b7755698e272c09afdfe0a4bf9887c9b87f474..4daaea47d54700808fc566eaa17306c8e0a446a6 100644 (file)
@@ -46,6 +46,7 @@ GET ftp://michal:aybabtu@host.com/we/want/299 HTTP/1.1
 Host: host.com:21\r
 Authorization: Basic bWljaGFsOmF5YmFidHU=\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index dc0dd5fcd1d09edcc90844e3dac602c1f9a6e5e7..e5535bb3af5225626e21a4fbf99d5a6f8e65a3c7 100644 (file)
@@ -67,10 +67,12 @@ http://%HOSTIP:%HTTPPORT/want/43 -L -x %HOSTIP:%HTTPPORT
 GET http://%HOSTIP:%HTTPPORT/want/43 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://%HOSTIP:%HTTPPORT/want/data/430002.txt?coolsite=yes HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 13314570b4f1e1bddbc86d89bb4818843ba25775..b62f1a127a6bfd2a426c7c04b8dab789d1e6e749 100644 (file)
@@ -43,6 +43,7 @@ http://%HOSTIP:%HTTPPORT/we/want/that/page/5#5 -x %HOSTIP:%HTTPPORT
 GET http://%HOSTIP:%HTTPPORT/we/want/that/page/5 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index f02bac6f327b369fb23ac34d0b41ba5a9ca13abe..e8dc21e8dbbd888be45c512201fb456f60c8ad59 100644 (file)
@@ -72,6 +72,7 @@ moo
 CONNECT machine.503:%HTTPPORT HTTP/1.1\r
 Host: machine.503:%HTTPPORT\r
 Proxy-Authorization: Basic dGVzdDppbmc=\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 <protocol>
index d021ae3be4c5c0f486ed7f9dd252c4d60e366014..9abe0ed2230c8391875f1a493034188eed3d270a 100644 (file)
@@ -54,6 +54,7 @@ GET HTTP://www.example.com:19999/523 HTTP/1.1
 Host: www.example.com:19999\r
 Authorization: Basic eHh4Onl5eQ==\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 <stdout>
index 19a13f19ef540a4a8e73073435a7597a31cf4cfa..8decaea9d09f63b7ef312bb4cbc36e401e567a14 100644 (file)
@@ -78,16 +78,19 @@ http://test.remote.example.com/path/540 http://%HOSTIP:%HTTPPORT silly:person cu
 GET http://test.remote.example.com/path/540 HTTP/1.1\r
 Host: custom.set.host.name\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://test.remote.example.com/path/540 HTTP/1.1\r
 Host: custom.set.host.name\r
 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://test.remote.example.com/path/540 HTTP/1.1\r
 Host: custom.set.host.name\r
 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 7cf3e9197ad16bb6554b5705b750eb988a73f312..cee22c6f79849367442ae01731728c4d7ed1516b 100644 (file)
@@ -106,6 +106,7 @@ POST http://test.remote.example.com/path/547 HTTP/1.1
 Host: test.remote.example.com\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 36\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -115,6 +116,7 @@ Host: test.remote.example.com
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -123,6 +125,7 @@ Host: test.remote.example.com
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 36\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
index e9d2262bbab4c512e978d4c1cc3564f12de32b8b..34cf5e2eacaa46fc6c4387f8af2f74147ded7f3b 100644 (file)
@@ -106,6 +106,7 @@ POST http://test.remote.example.com/path/548 HTTP/1.1
 Host: test.remote.example.com\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 36\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -115,6 +116,7 @@ Host: test.remote.example.com
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -123,6 +125,7 @@ Host: test.remote.example.com
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 36\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
index 59925ce79b75bfb8396d791167539a34868abd53..a248edbf61cdda5e93eaef4508a7f002e3caf469 100644 (file)
@@ -55,6 +55,7 @@ ftp://www.example.com/moo/549 http://%HOSTIP:%HTTPPORT
 GET ftp://www.example.com/moo/549;type=i HTTP/1.1\r
 Host: www.example.com:21\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 <stdout>
index 9a717ee87677747c696892882616b7be197e1bbb..a609aa216d126aab345d78c81706f36749346d56 100644 (file)
@@ -55,6 +55,7 @@ ftp://www.example.com/moo/550 http://%HOSTIP:%HTTPPORT ascii
 GET ftp://www.example.com/moo/550;type=a HTTP/1.1\r
 Host: www.example.com:21\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 <stdout>
index 6dd0133752e873e15fffb5ac983c5396e34857fa..ed6aee26431a3bddcbe34b56348afb53ac9d91a2 100644 (file)
@@ -81,6 +81,7 @@ http://test.remote.example.com/path/551 http://%HOSTIP:%HTTPPORT s1lly:pers0n
 POST http://test.remote.example.com/path/551 HTTP/1.1\r
 Host: test.remote.example.com\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 36\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -89,6 +90,7 @@ POST http://test.remote.example.com/path/551 HTTP/1.1
 Host: test.remote.example.com\r
 Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/551", response="3325240726fbdaf1e61f3a0dd40b930c"\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 36\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
index c20e2049fc524fe093ab9b0fffef46841e291c21..b44ca345514f15ea3e3becbe5ec82e789cad2026 100644 (file)
Binary files a/tests/data/test552 and b/tests/data/test552 differ
index 6c09e3c1bf0513a20785109cead110bf52d2188f..0f3bb07fcf80ee6e2025b07a97ea11bd6c612094 100644 (file)
@@ -115,6 +115,7 @@ POST http://test.remote.example.com/path/555 HTTP/1.1
 Host: test.remote.example.com\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 36\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -124,6 +125,7 @@ Host: test.remote.example.com
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
@@ -132,6 +134,7 @@ Host: test.remote.example.com
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 36\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
index 905e756b7b3eae5dc0af27a3f92793ed14a1e295..a6188eacfea2c256d087e8ce509a7d1a21257076 100644 (file)
@@ -56,6 +56,7 @@ FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i
 GET ftp://www.example.com/moo/561;type=i HTTP/1.1\r
 Host: www.example.com:21\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 <stdout>
index e4c00f50f4b58b70def96881523d0440e4f5d45c..78515231979788ac6c7d3b59580094cde592333a 100644 (file)
@@ -50,6 +50,7 @@ ftp_proxy=http://%HOSTIP:%HTTPPORT/
 GET FTP://%HOSTIP:%FTPPORT/563;type=A HTTP/1.1\r
 Host: %HOSTIP:%FTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 33417767664ea67c5ad34f07afe229f01e8ecaf6..55ea4f0e934f78d8b2648472d91c5e4fdc32e99b 100644 (file)
@@ -104,18 +104,21 @@ GET http://test.remote.example.com/path/590 HTTP/1.1
 Host: test.remote.example.com\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://test.remote.example.com/path/590 HTTP/1.1\r
 Host: test.remote.example.com\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://test.remote.example.com/path/590 HTTP/1.1\r
 Host: test.remote.example.com\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAAAgACAPYAAAAIAAgA+AAAAAAAAAAAAAAABoKBAB3Hr6SDn3NDNkgebbaP88ExMjM0MjIzNFIW4N7aYT44bAIg1jt2blUBAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAbWVjdXJsaG9zdA==\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 2a964492c17c4f6b9c869fa7f3effaec82aaaf93..ccc19dd243aa3342e88206d59633f8683221c0a2 100644 (file)
@@ -45,6 +45,7 @@ GET http://we.want.that.site.com/63 HTTP/1.1
 Host: we.want.that.site.com\r
 Proxy-Authorization: Basic ZmFrZTp1c2Vy\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 55fc2459f870cb0c43de6eac73d4e7b1f8676aea..b2566e229e289c6420dd0f82fe8d15ec8b27ae1a 100644 (file)
@@ -48,6 +48,7 @@ ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT
 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 8a635b45a6c949e3a01eb4dd827f217ac82b8cbd..147a6aa12455b11c2f47a9cf7e516d1e1b2765ad 100644 (file)
@@ -68,6 +68,7 @@ CONNECT test.80:%HTTPPORT HTTP/1.0
 Host: test.80:%HTTPPORT\r
 Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 <protocol>
index 53affa05f4affa8e03f138854216a33ffdab6be0..dc054d293a98c4021a42969e1ea38740b00b10d8 100644 (file)
@@ -89,12 +89,14 @@ Host: %HOSTIP:%HTTPPORT
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://%HOSTIP:%HTTPPORT/81 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index de3fcbaeaaf9d997fbe7a21d3ab3fc69972440bc..8b58f75da89bae4d6a0d07b7a112867906c468f6 100644 (file)
@@ -49,6 +49,7 @@ Host: %HOSTIP:%HTTPPORT
 Proxy-Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 4fe8ba34aae6c2c1d2db7830d5daa2a09d47fc7e..120bcc6a1dd000302ed92f02d07e3e5674d432cc 100644 (file)
@@ -64,6 +64,7 @@ http://test.83:%HTTPPORT/we/want/that/page/83 -p -x %HOSTIP:%PROXYPORT --user 'i
 CONNECT test.83:%HTTPPORT HTTP/1.1\r
 Host: test.83:%HTTPPORT\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 <protocol>
index cf667d67a68bde1cd5f208906810933682edc72b..629dae2fca858ff4ace05ae227cab5f7883ccfc2 100644 (file)
@@ -47,6 +47,7 @@ Host: %HOSTIP:%HTTPPORT
 Authorization: Basic aWFtOm15c2VsZg==\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index a11363f50408397b20c0190436e8a66da9a9717a..cb5e6e052ab11b0ece6b3b06f290bcde100923cd 100644 (file)
@@ -51,6 +51,7 @@ Proxy-Authorization: Basic dGVzdGluZzp0aGlz
 Authorization: Basic aWFtOm15c2VsZg==\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 948d29c4d5ab788255b65e968793bb2db9166aeb..138724835747aacdfd3cf43acaec075b490bf453 100644 (file)
@@ -43,6 +43,7 @@ http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT
 GET http://%HOSTIP:%HTTPPORT/93 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 94c894cb2d1f9a17b407501aa79e8f9ce0010162..2f3f4824df9bb01d3d3982a72bea9296a2099356 100644 (file)
@@ -51,6 +51,7 @@ https://test.anything.really.com:94 --proxy1.0 %HOSTIP:%HTTPPORT
 CONNECT test.anything.really.com:94 HTTP/1.0\r
 User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4\r
 Host: test.anything.really.com:94\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
index 2b3e2c22cf3568717f86588d48950d29c1671282..1cd88acab63c2a573227c3cff54688cd54e42c96 100644 (file)
@@ -64,6 +64,7 @@ http://test.95:%HTTPPORT/we/want/that/page/95 -p -x %HOSTIP:%PROXYPORT -d "datat
 CONNECT test.95:%HTTPPORT HTTP/1.1\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
 Host: test.95:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
 \r
 </proxy>
 <protocol nonewline="yes">