diff --git a/lib/http.c b/lib/http.c index 53c6cf889..62952a871 100644 --- a/lib/http.c +++ b/lib/http.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2016, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -2292,7 +2292,6 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) "%s" /* TE: */ "%s" /* accept-encoding */ "%s" /* referer */ - "%s" /* Proxy-Connection */ "%s",/* transfer-encoding */ ftp_typecode, @@ -2315,10 +2314,6 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) conn->allocptr.accept_encoding:"", (data->change.referer && conn->allocptr.ref)? conn->allocptr.ref:"" /* Referer: */, - (conn->bits.httpproxy && - !conn->bits.tunnel_proxy && - !Curl_checkProxyheaders(conn, "Proxy-Connection:"))? - "Proxy-Connection: Keep-Alive\r\n":"", te ); diff --git a/lib/http_proxy.c b/lib/http_proxy.c index 46727e550..e082ba291 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2016, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -150,7 +150,6 @@ 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"; @@ -171,9 +170,6 @@ 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; @@ -183,15 +179,13 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn, "CONNECT %s HTTP/%s\r\n" "%s" /* Host: */ "%s" /* Proxy-Authorization */ - "%s" /* User-Agent */ - "%s", /* Proxy-Connection */ + "%s", /* User-Agent */ hostheader, http, host, conn->allocptr.proxyuserpwd? conn->allocptr.proxyuserpwd:"", - useragent, - proxyconn); + useragent); if(host && *host) free(host); diff --git a/tests/data/test1001 b/tests/data/test1001 index 91b13203e..60e68a894 100644 --- a/tests/data/test1001 +++ b/tests/data/test1001 @@ -89,7 +89,6 @@ Host: %HOSTIP:%HTTPPORT Content-Range: bytes 2-4/5 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 0 GET http://%HOSTIP:%HTTPPORT/1001 HTTP/1.1 @@ -97,7 +96,6 @@ Host: %HOSTIP:%HTTPPORT Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1001", response="6af4d89c952f4dd4cc215a6878dc499d" Content-Range: bytes 2-4/5 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 3 Expect: 100-continue diff --git a/tests/data/test1002 b/tests/data/test1002 index 83cce6e44..83b87b9e4 100644 --- a/tests/data/test1002 +++ b/tests/data/test1002 @@ -88,7 +88,6 @@ Host: %HOSTIP:%HTTPPORT Content-Range: bytes 2-4/5 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 0 GET http://%HOSTIP:%HTTPPORT/1002.upload1 HTTP/1.1 @@ -96,7 +95,6 @@ Host: %HOSTIP:%HTTPPORT Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1002.upload1", response="198aa9b6acb4b0c71d02a197a5e41f54" Content-Range: bytes 2-4/5 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 3 Expect: 100-continue @@ -107,7 +105,6 @@ Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", u Content-Range: bytes 2-4/5 User-Agent: curl/7.16.1 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 3 Expect: 100-continue diff --git a/tests/data/test1008 b/tests/data/test1008 index bcc503e5a..1dac3956f 100644 --- a/tests/data/test1008 +++ b/tests/data/test1008 @@ -114,12 +114,10 @@ chkhostname curlhost CONNECT test.remote.example.com.1008:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.1008:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= -Proxy-Connection: Keep-Alive CONNECT test.remote.example.com.1008:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.1008:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== -Proxy-Connection: Keep-Alive GET /path/10080002 HTTP/1.1 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4 diff --git a/tests/data/test1021 b/tests/data/test1021 index 3ac9e12e6..3bd64bdd3 100644 --- a/tests/data/test1021 +++ b/tests/data/test1021 @@ -119,17 +119,14 @@ chkhostname curlhost CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.1021:%HTTPPORT -Proxy-Connection: Keep-Alive CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.1021:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= -Proxy-Connection: Keep-Alive CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.1021:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== -Proxy-Connection: Keep-Alive GET /path/10210002 HTTP/1.1 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4 diff --git a/tests/data/test1034 b/tests/data/test1034 index c47574051..f14268497 100644 --- a/tests/data/test1034 +++ b/tests/data/test1034 @@ -55,7 +55,6 @@ http://invalid-utf8- GET http://invalid-utf8-â.local/page/1034 HTTP/1.1 Host: invalid-utf8-â.local Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1035 b/tests/data/test1035 index 20b434c34..e1c2af637 100644 --- a/tests/data/test1035 +++ b/tests/data/test1035 @@ -52,7 +52,6 @@ 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 Host: too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1059 b/tests/data/test1059 index 6820ea679..ee4e6a78a 100644 --- a/tests/data/test1059 +++ b/tests/data/test1059 @@ -51,7 +51,6 @@ ftp://test-number:1059/wanted/page -p -x %HOSTIP:%HTTPPORT CONNECT test-number:1059 HTTP/1.1 Host: test-number:1059 -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1060 b/tests/data/test1060 index e4aea6589..1094792af 100644 --- a/tests/data/test1060 +++ b/tests/data/test1060 @@ -887,12 +887,10 @@ http://test.remote.haxx.se.1060:8990/path/10600002 --proxy http://%HOSTIP:%HTTPP CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1 Host: test.remote.haxx.se.1060:8990 -Proxy-Connection: Keep-Alive CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1 Host: test.remote.haxx.se.1060:8990 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1060:8990", response="e1fbed39c26f4efe284adc0e576ff638" -Proxy-Connection: Keep-Alive GET /path/10600002 HTTP/1.1 Host: test.remote.haxx.se.1060:8990 diff --git a/tests/data/test1061 b/tests/data/test1061 index a55a27295..4f53a87a9 100644 --- a/tests/data/test1061 +++ b/tests/data/test1061 @@ -892,12 +892,10 @@ http://test.remote.haxx.se.1061:8990/path/10610002 --proxy http://%HOSTIP:%HTTPP CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1 Host: test.remote.haxx.se.1061:8990 -Proxy-Connection: Keep-Alive CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1 Host: test.remote.haxx.se.1061:8990 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1061:8990", response="4e23449fa93224834299e7282a70472c" -Proxy-Connection: Keep-Alive GET /path/10610002 HTTP/1.1 Host: test.remote.haxx.se.1061:8990 diff --git a/tests/data/test1077 b/tests/data/test1077 index a3c90245a..e71d75694 100644 --- a/tests/data/test1077 +++ b/tests/data/test1077 @@ -30,7 +30,6 @@ Server: test-server/fake Content-Type: text/plain Content-Length: 9 Funny-head: yesyes -Proxy-Connection: Keep-Alive contents @@ -63,12 +62,10 @@ FTP over HTTP proxy with downgrade to HTTP 1.0 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1077 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/10770002 HTTP/1.0 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1078 b/tests/data/test1078 index a9bb771be..f04bad36f 100644 --- a/tests/data/test1078 +++ b/tests/data/test1078 @@ -56,7 +56,6 @@ HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0 CONNECT %HOSTIP.1078:%HTTPPORT HTTP/1.0 Host: %HOSTIP.1078:%HTTPPORT -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1087 b/tests/data/test1087 index d228976ac..1fb13cbef 100644 --- a/tests/data/test1087 +++ b/tests/data/test1087 @@ -92,18 +92,15 @@ 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 Host: first.host.it.is Accept: */* -Proxy-Connection: Keep-Alive GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1 Host: first.host.it.is Authorization: Basic aWFtOm15c2VsZg== Accept: */* -Proxy-Connection: Keep-Alive GET http://goto.second.host.now/10871002 HTTP/1.1 Host: goto.second.host.now Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1088 b/tests/data/test1088 index a807ce9e5..9801fff14 100644 --- a/tests/data/test1088 +++ b/tests/data/test1088 @@ -93,19 +93,16 @@ 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 Host: first.host.it.is Accept: */* -Proxy-Connection: Keep-Alive GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1 Host: first.host.it.is Authorization: Basic aWFtOm15c2VsZg== Accept: */* -Proxy-Connection: Keep-Alive GET http://goto.second.host.now/10881002 HTTP/1.1 Host: goto.second.host.now Authorization: Basic aWFtOm15c2VsZg== Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1092 b/tests/data/test1092 index adef4320b..ce843f000 100644 --- a/tests/data/test1092 +++ b/tests/data/test1092 @@ -49,7 +49,6 @@ FTP with type=i over HTTP proxy GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1097 b/tests/data/test1097 index 3b733a55a..81ea8552d 100644 --- a/tests/data/test1097 +++ b/tests/data/test1097 @@ -67,7 +67,6 @@ CONNECT test.a.galaxy.far.far.away.1097:%HTTPPORT HTTP/1.1 Host: test.a.galaxy.far.far.away.1097:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 -Proxy-Connection: Keep-Alive POST /1097 HTTP/1.1 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 diff --git a/tests/data/test1098 b/tests/data/test1098 index 980564810..70a6f3913 100644 --- a/tests/data/test1098 +++ b/tests/data/test1098 @@ -49,12 +49,10 @@ ftp://ftp-site/moo/1098 ftp://ftp-site/moo/1098 --proxy http://%HOSTIP:%HTTPPORT GET ftp://ftp-site/moo/1098 HTTP/1.1 Host: ftp-site:21 Accept: */* -Proxy-Connection: Keep-Alive GET ftp://ftp-site/moo/1098 HTTP/1.1 Host: ftp-site:21 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1104 b/tests/data/test1104 index 21efe3c15..4df81a1a2 100644 --- a/tests/data/test1104 +++ b/tests/data/test1104 @@ -72,12 +72,10 @@ http://%HOSTIP:%HTTPPORT/want/1104 -L -x %HOSTIP:%HTTPPORT -c log/cookies.jar GET http://%HOSTIP:%HTTPPORT/want/1104 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive GET http://%HOSTIP:%HTTPPORT/want/data/11040002 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive Cookie: test2=true diff --git a/tests/data/test1106 b/tests/data/test1106 index 0c6bec177..a2adbbb3f 100644 --- a/tests/data/test1106 +++ b/tests/data/test1106 @@ -50,7 +50,6 @@ ftp://%HOSTIP:23456/1106 GET ftp://%HOSTIP:23456/1106 HTTP/1.1 Host: %HOSTIP:23456 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1213 b/tests/data/test1213 index 4f22f0d92..bc146b016 100644 --- a/tests/data/test1213 +++ b/tests/data/test1213 @@ -46,7 +46,6 @@ HTTP with proxy and host-only URL GET http://we.want.that.site.com.1213/ HTTP/1.1 Host: we.want.that.site.com.1213 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1214 b/tests/data/test1214 index 3eeb3e3ad..e703f7a91 100644 --- a/tests/data/test1214 +++ b/tests/data/test1214 @@ -46,7 +46,6 @@ HTTP with proxy and URL with ? and no slash separator GET http://we.want.that.site.com.1214/?moo=foo HTTP/1.1 Host: we.want.that.site.com.1214 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1215 b/tests/data/test1215 index f8c52a9a1..e22591c90 100644 --- a/tests/data/test1215 +++ b/tests/data/test1215 @@ -92,14 +92,12 @@ Host: %HOSTIP:%HTTPPORT Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= User-Agent: curl/7.30.0-DEV Accept: */* -Proxy-Connection: Keep-Alive GET http://%HOSTIP:%HTTPPORT/1215 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== User-Agent: curl/7.30.0-DEV Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1216 b/tests/data/test1216 index 5beda797d..6e45ac6a3 100644 --- a/tests/data/test1216 +++ b/tests/data/test1216 @@ -50,13 +50,11 @@ example.fake TRUE /c FALSE 2139150993 moo3 indeed GET http://example.fake/c/1216 HTTP/1.1 Host: example.fake Accept: */* -Proxy-Connection: Keep-Alive Cookie: moo2=indeed; moo3=indeed GET http://bexample.fake/c/1216 HTTP/1.1 Host: bexample.fake Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1218 b/tests/data/test1218 index 7d865476a..ee18cb528 100644 --- a/tests/data/test1218 +++ b/tests/data/test1218 @@ -43,18 +43,15 @@ http://example.fake/c/1218 http://example.fake/c/1218 http://bexample.fake/c/121 GET http://example.fake/c/1218 HTTP/1.1 Host: example.fake Accept: */* -Proxy-Connection: Keep-Alive GET http://example.fake/c/1218 HTTP/1.1 Host: example.fake Accept: */* -Proxy-Connection: Keep-Alive Cookie: bug=fixed GET http://bexample.fake/c/1218 HTTP/1.1 Host: bexample.fake Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1228 b/tests/data/test1228 index a7e56a797..d0af517de 100644 --- a/tests/data/test1228 +++ b/tests/data/test1228 @@ -42,12 +42,10 @@ http://example.fake/hoge/1228 http://example.fake/hogege/ -b nonexisting -x %HOS GET http://example.fake/hoge/1228 HTTP/1.1 Host: example.fake Accept: */* -Proxy-Connection: Keep-Alive GET http://example.fake/hogege/ HTTP/1.1 Host: example.fake Accept: */* -Proxy-Connection: Keep-Alive Cookie: path1=root diff --git a/tests/data/test1230 b/tests/data/test1230 index 3c1d3d448..8ce4c4ee6 100644 --- a/tests/data/test1230 +++ b/tests/data/test1230 @@ -69,7 +69,6 @@ http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/1230 -p -x %HOSTIP:%HTTPPORT CONNECT [1234:1234:1234::4ce]:%HTTPPORT HTTP/1.1 Host: [1234:1234:1234::4ce]:%HTTPPORT -Proxy-Connection: Keep-Alive GET /wanted/page/1230 HTTP/1.1 Host: [1234:1234:1234::4ce]:%HTTPPORT diff --git a/tests/data/test1232 b/tests/data/test1232 index ead43365f..1c5bc2031 100644 --- a/tests/data/test1232 +++ b/tests/data/test1232 @@ -53,12 +53,10 @@ 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 Host: test.remote.haxx.se.1232:8990 Accept: */* -Proxy-Connection: Keep-Alive GET http://test.remote.haxx.se.1232:8990/hej/but/12320001 HTTP/1.1 Host: test.remote.haxx.se.1232:8990 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1241 b/tests/data/test1241 index aaa568868..5a127326d 100644 --- a/tests/data/test1241 +++ b/tests/data/test1241 @@ -52,12 +52,10 @@ HTTP _without_ dotdot removal GET http://test.remote.haxx.se.1241:8990/../../hej/but/who/../1241?stupid=me/../1241 HTTP/1.1 Host: test.remote.haxx.se.1241:8990 Accept: */* -Proxy-Connection: Keep-Alive GET http://test.remote.haxx.se.1241:8990/../../hej/but/who/../12410001 HTTP/1.1 Host: test.remote.haxx.se.1241:8990 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1314 b/tests/data/test1314 index 078ada64a..11e128a85 100644 --- a/tests/data/test1314 +++ b/tests/data/test1314 @@ -67,12 +67,10 @@ http://firstplace.example.com/want/1314 -L -x http://%HOSTIP:%HTTPPORT GET http://firstplace.example.com/want/1314 HTTP/1.1 Host: firstplace.example.com Accept: */* -Proxy-Connection: Keep-Alive GET http://somewhere.example.com/reply/1314 HTTP/1.1 Host: somewhere.example.com Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1319 b/tests/data/test1319 index 0520b1b32..a97da9c41 100644 --- a/tests/data/test1319 +++ b/tests/data/test1319 @@ -79,7 +79,6 @@ QUIT CONNECT pop.1319:%POP3PORT HTTP/1.1 Host: pop.1319:%POP3PORT 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 -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1320 b/tests/data/test1320 index 7a15f8091..609f4c2f7 100644 --- a/tests/data/test1320 +++ b/tests/data/test1320 @@ -66,7 +66,6 @@ body CONNECT smtp.1320:%SMTPPORT HTTP/1.1 Host: smtp.1320:%SMTPPORT 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 -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1321 b/tests/data/test1321 index 266fd8828..b5ad277b0 100644 --- a/tests/data/test1321 +++ b/tests/data/test1321 @@ -75,7 +75,6 @@ A005 LOGOUT CONNECT imap.1321:%IMAPPORT HTTP/1.1 Host: imap.1321:%IMAPPORT 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 -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1331 b/tests/data/test1331 index 3299df469..837ef8dd7 100644 --- a/tests/data/test1331 +++ b/tests/data/test1331 @@ -75,13 +75,11 @@ HTTP --proxy-anyauth and 407 with cookies GET http://z.x.com/1331 HTTP/1.1 Host: z.x.com Accept: */* -Proxy-Connection: Keep-Alive GET http://z.x.com/1331 HTTP/1.1 Host: z.x.com Proxy-Authorization: Basic bXluYW1lOm15cGFzc3dvcmQ= Accept: */* -Proxy-Connection: Keep-Alive Cookie: proxycookie=weirdo diff --git a/tests/data/test1415 b/tests/data/test1415 index 560440407..37cfb073b 100644 --- a/tests/data/test1415 +++ b/tests/data/test1415 @@ -57,7 +57,6 @@ 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 Host: example.com Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1421 b/tests/data/test1421 index 6c59b2160..889c938db 100644 --- a/tests/data/test1421 +++ b/tests/data/test1421 @@ -59,12 +59,10 @@ Content-Length: 6 GET http://test.remote.haxx.se.1421:8990/ HTTP/1.1 Host: test.remote.haxx.se.1421:8990 Accept: */* -Proxy-Connection: Keep-Alive GET http://different.remote.haxx.se.1421:8990/ HTTP/1.1 Host: different.remote.haxx.se.1421:8990 Accept: */* -Proxy-Connection: Keep-Alive [DISCONNECT] diff --git a/tests/data/test1428 b/tests/data/test1428 index 59041ec96..60fb8a93e 100644 --- a/tests/data/test1428 +++ b/tests/data/test1428 @@ -64,7 +64,6 @@ http://test.1428:%HTTPPORT/we/want/that/page/1428 -p -x %HOSTIP:%PROXYPORT --use CONNECT test.1428:%HTTPPORT HTTP/1.1 Host: test.1428:%HTTPPORT User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3 -Proxy-Connection: Keep-Alive header-type: proxy diff --git a/tests/data/test1509 b/tests/data/test1509 index b4bfc6603..18eb07f1e 100644 --- a/tests/data/test1509 +++ b/tests/data/test1509 @@ -74,7 +74,6 @@ moo CONNECT the.old.moo.1509:%HTTPPORT HTTP/1.1 Host: the.old.moo.1509:%HTTPPORT -Proxy-Connection: Keep-Alive diff --git a/tests/data/test1525 b/tests/data/test1525 index 0560d5c1a..d8f68838d 100644 --- a/tests/data/test1525 +++ b/tests/data/test1525 @@ -58,7 +58,6 @@ CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED CONNECT the.old.moo.1525:%HTTPPORT HTTP/1.1 Host: the.old.moo.1525:%HTTPPORT -Proxy-Connection: Keep-Alive User-Agent: Http Agent diff --git a/tests/data/test1526 b/tests/data/test1526 index aa111c890..9f5d09e6d 100644 --- a/tests/data/test1526 +++ b/tests/data/test1526 @@ -58,7 +58,6 @@ CURLOPT_PROXYHEADER: separate host/proxy headers CONNECT the.old.moo.1526:%HTTPPORT HTTP/1.1 Host: the.old.moo.1526:%HTTPPORT -Proxy-Connection: Keep-Alive User-Agent: Proxy Agent diff --git a/tests/data/test1527 b/tests/data/test1527 index e8d52794b..69ae6e4a0 100644 --- a/tests/data/test1527 +++ b/tests/data/test1527 @@ -57,7 +57,6 @@ Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED CONNECT the.old.moo.1527:%HTTPPORT HTTP/1.1 Host: the.old.moo.1527:%HTTPPORT -Proxy-Connection: Keep-Alive User-Agent: Http Agent Expect: 100-continue diff --git a/tests/data/test1528 b/tests/data/test1528 index 876806af4..e60f60026 100644 --- a/tests/data/test1528 +++ b/tests/data/test1528 @@ -51,7 +51,6 @@ Separately specified proxy/server headers sent in a proxy GET GET http://the.old.moo:%HTTPPORT/1528 HTTP/1.1 Host: the.old.moo:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive User-Agent: Http Agent Proxy-User-Agent: Http Agent2 diff --git a/tests/data/test16 b/tests/data/test16 index 15f4c7a7b..9d9a9cc1c 100644 --- a/tests/data/test16 +++ b/tests/data/test16 @@ -45,7 +45,6 @@ GET http://we.want.that.site.com/16 HTTP/1.1 Host: we.want.that.site.com Proxy-Authorization: Basic ZmFrZUB1c2VyOmxvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw== Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test162 b/tests/data/test162 index ee2f40aa7..cc4c82d45 100644 --- a/tests/data/test162 +++ b/tests/data/test162 @@ -51,7 +51,6 @@ Host: %HOSTIP:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled) Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test165 b/tests/data/test165 index ddfe1e9dc..b475fdef1 100644 --- a/tests/data/test165 +++ b/tests/data/test165 @@ -51,7 +51,6 @@ http://www. GET http://www.xn--4cab6c.se/page/165 HTTP/1.1 Host: www.xn--4cab6c.se Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test167 b/tests/data/test167 index 0b14996a3..76f9e5c7f 100644 --- a/tests/data/test167 +++ b/tests/data/test167 @@ -65,7 +65,6 @@ Host: data.from.server.requiring.digest.hohoho.com Proxy-Authorization: Basic Zm9vOmJhcg== 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://data.from.server.requiring.digest.hohoho.com/167 HTTP/1.1 Host: data.from.server.requiring.digest.hohoho.com @@ -73,7 +72,6 @@ Proxy-Authorization: Basic Zm9vOmJhcg== Authorization: Digest username="digest", realm="weirdorealm", nonce="12345", uri="/167", response="13c7c02a252cbe1c46d8669898a3be26" 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 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test168 b/tests/data/test168 index 20e0b6d9c..0f4e02573 100644 --- a/tests/data/test168 +++ b/tests/data/test168 @@ -78,14 +78,12 @@ GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1 Host: data.from.server.requiring.digest.hohoho.com 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1 Host: data.from.server.requiring.digest.hohoho.com Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/168", response="fb8608e00ad9239a3dedb14bc8575976" 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1 Host: data.from.server.requiring.digest.hohoho.com @@ -93,7 +91,6 @@ Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/168", response="ca87f2d768a231e2d637a55698d5c416" 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 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test169 b/tests/data/test169 index 73ca9bd20..be5b4c6d9 100644 --- a/tests/data/test169 +++ b/tests/data/test169 @@ -108,21 +108,18 @@ Host: data.from.server.requiring.digest.hohoho.com Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 Host: data.from.server.requiring.digest.hohoho.com Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 Host: data.from.server.requiring.digest.hohoho.com Authorization: Digest username="digest", realm="r e a l m", nonce="abcdef", uri="/169", response="95d48591985a03c4b49cb962aa7bd3e6" 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 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test170 b/tests/data/test170 index 8ce7774f9..48a263f46 100644 --- a/tests/data/test170 +++ b/tests/data/test170 @@ -40,7 +40,6 @@ Host: a.galaxy.far.far.away Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 0 diff --git a/tests/data/test171 b/tests/data/test171 index 09e48b70a..3b9f7ba8c 100644 --- a/tests/data/test171 +++ b/tests/data/test171 @@ -44,7 +44,6 @@ HTTP, get cookie with dot prefixed full domain GET http://z.x.com/171 HTTP/1.1 Host: z.x.com Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test179 b/tests/data/test179 index f8f7811a7..1cd5badf1 100644 --- a/tests/data/test179 +++ b/tests/data/test179 @@ -49,7 +49,6 @@ supertrooper.fake FALSE /c FALSE 2139150993 moo2 indeed GET http://supertrooper.fake/c/179 HTTP/1.1 Host: supertrooper.fake Accept: */* -Proxy-Connection: Keep-Alive Cookie: moo2=indeed diff --git a/tests/data/test183 b/tests/data/test183 index f34dc0c98..b44710998 100644 --- a/tests/data/test183 +++ b/tests/data/test183 @@ -42,13 +42,11 @@ 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 Host: deathstar.another.galaxy Accept: */* -Proxy-Connection: Keep-Alive GET http://a.galaxy.far.far.away/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 Host: a.galaxy.far.far.away Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test184 b/tests/data/test184 index 8b09dde28..9cadc8290 100644 --- a/tests/data/test184 +++ b/tests/data/test184 @@ -62,12 +62,10 @@ GET http://deathstar.another.galaxy/184 HTTP/1.1 Host: another.visitor.stay.a.while.stay.foreeeeeever 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://yet.another.host/184 HTTP/1.1 Host: yet.another.host Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test185 b/tests/data/test185 index 298dd49ce..dbef6e7ea 100644 --- a/tests/data/test185 +++ b/tests/data/test185 @@ -62,12 +62,10 @@ GET http://deathstar.another.galaxy/185 HTTP/1.1 Host: another.visitor.stay.a.while.stay.foreeeeeever 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://deathstar.another.galaxy/go/west/185 HTTP/1.1 Host: another.visitor.stay.a.while.stay.foreeeeeever Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test2047 b/tests/data/test2047 index 442297801..a8cca2f40 100644 --- a/tests/data/test2047 +++ b/tests/data/test2047 @@ -63,12 +63,10 @@ http://åäö.se/2047 -x %HOSTIP:%HTTPPORT -w "%{num_connects}\n%{num_redirects} GET http://xn--4cab6c.se/2047 HTTP/1.1 Host: xn--4cab6c.se Accept: */* -Proxy-Connection: Keep-Alive GET http://xn--4cab6c.se/20470001 HTTP/1.1 Host: xn--4cab6c.se Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test206 b/tests/data/test206 index 5f0c88562..efbc56e0c 100644 --- a/tests/data/test206 +++ b/tests/data/test206 @@ -90,12 +90,10 @@ http://test.remote.haxx.se.206:8990/path/2060002 --proxy http://%HOSTIP:%HTTPPOR CONNECT test.remote.haxx.se.206:8990 HTTP/1.1 Host: test.remote.haxx.se.206:8990 -Proxy-Connection: Keep-Alive CONNECT test.remote.haxx.se.206:8990 HTTP/1.1 Host: test.remote.haxx.se.206:8990 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:8990", response="003e36decb4dbf6366b3ecb9b87c24ec" -Proxy-Connection: Keep-Alive GET /path/2060002 HTTP/1.1 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4 diff --git a/tests/data/test208 b/tests/data/test208 index afb2566b5..fb4c0ea13 100644 --- a/tests/data/test208 +++ b/tests/data/test208 @@ -57,7 +57,6 @@ PUT ftp://daniel:mysecret@host.com/we/want/208 HTTP/1.1 Host: host.com:21 Authorization: Basic ZGFuaWVsOm15c2VjcmV0 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 78 Expect: 100-continue diff --git a/tests/data/test209 b/tests/data/test209 index 961eba1a2..f868541c6 100644 --- a/tests/data/test209 +++ b/tests/data/test209 @@ -104,12 +104,10 @@ chkhostname curlhost CONNECT test.remote.example.com.209:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.209:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= -Proxy-Connection: Keep-Alive CONNECT test.remote.example.com.209:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.209:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== -Proxy-Connection: Keep-Alive GET /path/2090002 HTTP/1.1 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4 diff --git a/tests/data/test213 b/tests/data/test213 index edbb6a6f3..7ceed9849 100644 --- a/tests/data/test213 +++ b/tests/data/test213 @@ -104,12 +104,10 @@ chkhostname curlhost CONNECT test.remote.example.com.213:%HTTPPORT HTTP/1.0 Host: test.remote.example.com.213:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= -Proxy-Connection: Keep-Alive CONNECT test.remote.example.com.213:%HTTPPORT HTTP/1.0 Host: test.remote.example.com.213:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== -Proxy-Connection: Keep-Alive POST /path/2130002 HTTP/1.1 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4 diff --git a/tests/data/test217 b/tests/data/test217 index f10df566b..0e0c0add1 100644 --- a/tests/data/test217 +++ b/tests/data/test217 @@ -44,7 +44,6 @@ http://test.remote.example.com.217:%HTTPPORT/path/2170002 --proxy http://%HOSTIP CONNECT test.remote.example.com.217:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.217:%HTTPPORT -Proxy-Connection: Keep-Alive # CURLE_RECV_ERROR diff --git a/tests/data/test233 b/tests/data/test233 index b631e52cf..996855d59 100644 --- a/tests/data/test233 +++ b/tests/data/test233 @@ -81,13 +81,11 @@ Host: first.host.it.is Proxy-Authorization: Basic dGVzdGluZzp0aGlz Authorization: Basic aWFtOm15c2VsZg== Accept: */* -Proxy-Connection: Keep-Alive GET http://goto.second.host.now/2330002 HTTP/1.1 Host: goto.second.host.now Proxy-Authorization: Basic dGVzdGluZzp0aGlz Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test234 b/tests/data/test234 index 1d2e05b39..f7da2b95e 100644 --- a/tests/data/test234 +++ b/tests/data/test234 @@ -83,14 +83,12 @@ Host: first.host.it.is Proxy-Authorization: Basic dGVzdGluZzp0aGlz Authorization: Basic aWFtOm15c2VsZg== Accept: */* -Proxy-Connection: Keep-Alive GET http://goto.second.host.now/2340002 HTTP/1.1 Host: goto.second.host.now Proxy-Authorization: Basic dGVzdGluZzp0aGlz Authorization: Basic aWFtOm15c2VsZg== Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test239 b/tests/data/test239 index 6b92f07f7..275c81b3c 100644 --- a/tests/data/test239 +++ b/tests/data/test239 @@ -83,7 +83,6 @@ Host: %HOSTIP:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 0 Content-Type: application/x-www-form-urlencoded @@ -92,7 +91,6 @@ Host: %HOSTIP:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 6 Content-Type: application/x-www-form-urlencoded diff --git a/tests/data/test243 b/tests/data/test243 index 3496055d1..bc09286ee 100644 --- a/tests/data/test243 +++ b/tests/data/test243 @@ -103,7 +103,6 @@ POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1 Host: %HOSTIP:%HTTPPORT 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 6 Content-Type: application/x-www-form-urlencoded @@ -112,7 +111,6 @@ Host: %HOSTIP:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 0 Content-Type: application/x-www-form-urlencoded @@ -121,7 +119,6 @@ Host: %HOSTIP:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 6 Content-Type: application/x-www-form-urlencoded diff --git a/tests/data/test256 b/tests/data/test256 index 2b96ecf3d..0acd9db12 100644 --- a/tests/data/test256 +++ b/tests/data/test256 @@ -51,7 +51,6 @@ Host: %HOSTIP:%HTTPPORT Proxy-Authorization: Basic ZGFuaWVsOnN0ZW5iZXJn Range: bytes=78- Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test257 b/tests/data/test257 index 502448ddb..45dcbd556 100644 --- a/tests/data/test257 +++ b/tests/data/test257 @@ -92,20 +92,17 @@ Host: supersite.com Authorization: Basic dXNlcjE6cGFzc3dkMQ== 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: */* -Proxy-Connection: Keep-Alive GET http://anotherone.com/2570002 HTTP/1.1 Host: anotherone.com Authorization: Basic dXNlcjI6cGFzc3dkMg== 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: */* -Proxy-Connection: Keep-Alive GET http://athird.com/2570003 HTTP/1.1 Host: athird.com 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: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test258 b/tests/data/test258 index 98c340141..82c6731cc 100644 --- a/tests/data/test258 +++ b/tests/data/test258 @@ -20,7 +20,6 @@ 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 @@ -37,7 +36,6 @@ 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 @@ -83,7 +81,6 @@ POST http://remotehost:54321/we/want/258 HTTP/1.1 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 409 Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce @@ -109,7 +106,6 @@ 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 Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/258", response="2501654ca391f0b5c8c12a1da77e34cd" Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 409 Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce diff --git a/tests/data/test259 b/tests/data/test259 index 9532887a9..75b1f531c 100644 --- a/tests/data/test259 +++ b/tests/data/test259 @@ -79,7 +79,6 @@ POST http://remotehost:54321/we/want/259 HTTP/1.1 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 409 Expect: 100-continue Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce @@ -106,7 +105,6 @@ 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 Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/259", response="b479994d13e60f3aa192a67c5892ddc5" Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 409 Expect: 100-continue Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce diff --git a/tests/data/test263 b/tests/data/test263 index 5088141f5..df0ba032f 100644 --- a/tests/data/test263 +++ b/tests/data/test263 @@ -47,7 +47,6 @@ HTTP-IPv6 GET with proxy specified using IPv6-numerical address GET http://veryveryremotesite.com/263 HTTP/1.1 Host: veryveryremotesite.com Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test264 b/tests/data/test264 index f4d171a16..1174ca54d 100644 --- a/tests/data/test264 +++ b/tests/data/test264 @@ -42,7 +42,6 @@ GET http://we.want.that.site.com/264 HTTP/1.1 Host: we.want.that.site.com Proxy-Authorization: Basic ZmFrZTp1c2Vy Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test265 b/tests/data/test265 index 1a162b808..79ab183f0 100644 --- a/tests/data/test265 +++ b/tests/data/test265 @@ -107,12 +107,10 @@ chkhostname curlhost CONNECT test.remote.example.com.265:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.265:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= -Proxy-Connection: Keep-Alive CONNECT test.remote.example.com.265:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.265:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== -Proxy-Connection: Keep-Alive POST /path/2650002 HTTP/1.1 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4 diff --git a/tests/data/test275 b/tests/data/test275 index 802c4bbcc..600045482 100644 --- a/tests/data/test275 +++ b/tests/data/test275 @@ -69,7 +69,6 @@ CONNECT remotesite.com.275:%HTTPPORT HTTP/1.1 Host: remotesite.com.275:%HTTPPORT Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3 -Proxy-Connection: Keep-Alive diff --git a/tests/data/test278 b/tests/data/test278 index 3112264a3..e6f1ef705 100644 --- a/tests/data/test278 +++ b/tests/data/test278 @@ -42,7 +42,6 @@ GET http://we.want.that.site.com/278 HTTP/1.1 Host: we.want.that.site.com Proxy-Authorization: Basic ZmFrZTo= Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test279 b/tests/data/test279 index 47f8b687e..5005daa5a 100644 --- a/tests/data/test279 +++ b/tests/data/test279 @@ -43,7 +43,6 @@ GET http://we.want.that.site.com/279 HTTP/1.1 Host: we.want.that.site.com Proxy-Authorization: Basic ZmFrZTo= Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test287 b/tests/data/test287 index 6772e220f..526446f40 100644 --- a/tests/data/test287 +++ b/tests/data/test287 @@ -37,7 +37,6 @@ http://test.remote.example.com.287:%HTTPPORT/path/287 -H "User-Agent: looser/201 CONNECT test.remote.example.com.287:%HTTPPORT HTTP/1.1 Host: test.remote.example.com.287:%HTTPPORT -Proxy-Connection: Keep-Alive User-Agent: looser/2007 diff --git a/tests/data/test299 b/tests/data/test299 index 4daaea47d..a7b775569 100644 --- a/tests/data/test299 +++ b/tests/data/test299 @@ -46,7 +46,6 @@ GET ftp://michal:aybabtu@host.com/we/want/299 HTTP/1.1 Host: host.com:21 Authorization: Basic bWljaGFsOmF5YmFidHU= Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test43 b/tests/data/test43 index e5535bb3a..dc0dd5fcd 100644 --- a/tests/data/test43 +++ b/tests/data/test43 @@ -67,12 +67,10 @@ http://%HOSTIP:%HTTPPORT/want/43 -L -x %HOSTIP:%HTTPPORT GET http://%HOSTIP:%HTTPPORT/want/43 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive GET http://%HOSTIP:%HTTPPORT/want/data/430002.txt?coolsite=yes HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test5 b/tests/data/test5 index b62f1a127..13314570b 100644 --- a/tests/data/test5 +++ b/tests/data/test5 @@ -43,7 +43,6 @@ http://%HOSTIP:%HTTPPORT/we/want/that/page/5#5 -x %HOSTIP:%HTTPPORT GET http://%HOSTIP:%HTTPPORT/we/want/that/page/5 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test503 b/tests/data/test503 index e8dc21e8d..f02bac6f3 100644 --- a/tests/data/test503 +++ b/tests/data/test503 @@ -72,7 +72,6 @@ moo CONNECT machine.503:%HTTPPORT HTTP/1.1 Host: machine.503:%HTTPPORT Proxy-Authorization: Basic dGVzdDppbmc= -Proxy-Connection: Keep-Alive diff --git a/tests/data/test523 b/tests/data/test523 index 9abe0ed22..d021ae3be 100644 --- a/tests/data/test523 +++ b/tests/data/test523 @@ -54,7 +54,6 @@ GET HTTP://www.example.com:19999/523 HTTP/1.1 Host: www.example.com:19999 Authorization: Basic eHh4Onl5eQ== Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test540 b/tests/data/test540 index 8decaea9d..19a13f19e 100644 --- a/tests/data/test540 +++ b/tests/data/test540 @@ -78,19 +78,16 @@ http://test.remote.example.com/path/540 http://%HOSTIP:%HTTPPORT silly:person cu GET http://test.remote.example.com/path/540 HTTP/1.1 Host: custom.set.host.name Accept: */* -Proxy-Connection: Keep-Alive GET http://test.remote.example.com/path/540 HTTP/1.1 Host: custom.set.host.name Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261" Accept: */* -Proxy-Connection: Keep-Alive GET http://test.remote.example.com/path/540 HTTP/1.1 Host: custom.set.host.name Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261" Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test547 b/tests/data/test547 index cee22c6f7..7cf3e9197 100644 --- a/tests/data/test547 +++ b/tests/data/test547 @@ -106,7 +106,6 @@ POST http://test.remote.example.com/path/547 HTTP/1.1 Host: test.remote.example.com 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 36 Content-Type: application/x-www-form-urlencoded @@ -116,7 +115,6 @@ Host: test.remote.example.com Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 0 Content-Type: application/x-www-form-urlencoded @@ -125,7 +123,6 @@ Host: test.remote.example.com Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 36 Content-Type: application/x-www-form-urlencoded diff --git a/tests/data/test548 b/tests/data/test548 index 34cf5e2ea..e9d2262bb 100644 --- a/tests/data/test548 +++ b/tests/data/test548 @@ -106,7 +106,6 @@ POST http://test.remote.example.com/path/548 HTTP/1.1 Host: test.remote.example.com 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 36 Content-Type: application/x-www-form-urlencoded @@ -116,7 +115,6 @@ Host: test.remote.example.com Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 0 Content-Type: application/x-www-form-urlencoded @@ -125,7 +123,6 @@ Host: test.remote.example.com Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 36 Content-Type: application/x-www-form-urlencoded diff --git a/tests/data/test549 b/tests/data/test549 index a248edbf6..59925ce79 100644 --- a/tests/data/test549 +++ b/tests/data/test549 @@ -55,7 +55,6 @@ ftp://www.example.com/moo/549 http://%HOSTIP:%HTTPPORT GET ftp://www.example.com/moo/549;type=i HTTP/1.1 Host: www.example.com:21 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test550 b/tests/data/test550 index a609aa216..9a717ee87 100644 --- a/tests/data/test550 +++ b/tests/data/test550 @@ -55,7 +55,6 @@ ftp://www.example.com/moo/550 http://%HOSTIP:%HTTPPORT ascii GET ftp://www.example.com/moo/550;type=a HTTP/1.1 Host: www.example.com:21 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test551 b/tests/data/test551 index ed6aee264..6dd013375 100644 --- a/tests/data/test551 +++ b/tests/data/test551 @@ -81,7 +81,6 @@ http://test.remote.example.com/path/551 http://%HOSTIP:%HTTPPORT s1lly:pers0n POST http://test.remote.example.com/path/551 HTTP/1.1 Host: test.remote.example.com Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 36 Content-Type: application/x-www-form-urlencoded @@ -90,7 +89,6 @@ POST http://test.remote.example.com/path/551 HTTP/1.1 Host: test.remote.example.com Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/551", response="3325240726fbdaf1e61f3a0dd40b930c" Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 36 Content-Type: application/x-www-form-urlencoded diff --git a/tests/data/test552 b/tests/data/test552 index b44ca3455..c20e2049f 100644 Binary files a/tests/data/test552 and b/tests/data/test552 differ diff --git a/tests/data/test555 b/tests/data/test555 index 0f3bb07fc..6c09e3c1b 100644 --- a/tests/data/test555 +++ b/tests/data/test555 @@ -115,7 +115,6 @@ POST http://test.remote.example.com/path/555 HTTP/1.1 Host: test.remote.example.com 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 36 Content-Type: application/x-www-form-urlencoded @@ -125,7 +124,6 @@ Host: test.remote.example.com Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 0 Content-Type: application/x-www-form-urlencoded @@ -134,7 +132,6 @@ Host: test.remote.example.com Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== 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 Accept: */* -Proxy-Connection: Keep-Alive Content-Length: 36 Content-Type: application/x-www-form-urlencoded diff --git a/tests/data/test561 b/tests/data/test561 index a6188eacf..905e756b7 100644 --- a/tests/data/test561 +++ b/tests/data/test561 @@ -56,7 +56,6 @@ FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i GET ftp://www.example.com/moo/561;type=i HTTP/1.1 Host: www.example.com:21 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test563 b/tests/data/test563 index 785152319..e4c00f50f 100644 --- a/tests/data/test563 +++ b/tests/data/test563 @@ -50,7 +50,6 @@ ftp_proxy=http://%HOSTIP:%HTTPPORT/ GET FTP://%HOSTIP:%FTPPORT/563;type=A HTTP/1.1 Host: %HOSTIP:%FTPPORT Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test590 b/tests/data/test590 index 55ea4f0e9..334177676 100644 --- a/tests/data/test590 +++ b/tests/data/test590 @@ -104,21 +104,18 @@ GET http://test.remote.example.com/path/590 HTTP/1.1 Host: test.remote.example.com 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://test.remote.example.com/path/590 HTTP/1.1 Host: test.remote.example.com Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://test.remote.example.com/path/590 HTTP/1.1 Host: test.remote.example.com Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAAAgACAPYAAAAIAAgA+AAAAAAAAAAAAAAABoKBAB3Hr6SDn3NDNkgebbaP88ExMjM0MjIzNFIW4N7aYT44bAIg1jt2blUBAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAbWVjdXJsaG9zdA== 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 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test63 b/tests/data/test63 index ccc19dd24..2a964492c 100644 --- a/tests/data/test63 +++ b/tests/data/test63 @@ -45,7 +45,6 @@ GET http://we.want.that.site.com/63 HTTP/1.1 Host: we.want.that.site.com Proxy-Authorization: Basic ZmFrZTp1c2Vy Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test79 b/tests/data/test79 index b2566e229..55fc2459f 100644 --- a/tests/data/test79 +++ b/tests/data/test79 @@ -48,7 +48,6 @@ ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test80 b/tests/data/test80 index 147a6aa12..8a635b45a 100644 --- a/tests/data/test80 +++ b/tests/data/test80 @@ -68,7 +68,6 @@ CONNECT test.80:%HTTPPORT HTTP/1.0 Host: test.80:%HTTPPORT Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3 -Proxy-Connection: Keep-Alive diff --git a/tests/data/test81 b/tests/data/test81 index dc054d293..53affa05f 100644 --- a/tests/data/test81 +++ b/tests/data/test81 @@ -89,14 +89,12 @@ Host: %HOSTIP:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 Accept: */* -Proxy-Connection: Keep-Alive GET http://%HOSTIP:%HTTPPORT/81 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== 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 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test82 b/tests/data/test82 index 8b58f75da..de3fcbaea 100644 --- a/tests/data/test82 +++ b/tests/data/test82 @@ -49,7 +49,6 @@ Host: %HOSTIP:%HTTPPORT Proxy-Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M= 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 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test83 b/tests/data/test83 index 120bcc6a1..4fe8ba34a 100644 --- a/tests/data/test83 +++ b/tests/data/test83 @@ -64,7 +64,6 @@ http://test.83:%HTTPPORT/we/want/that/page/83 -p -x %HOSTIP:%PROXYPORT --user 'i CONNECT test.83:%HTTPPORT HTTP/1.1 Host: test.83:%HTTPPORT User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3 -Proxy-Connection: Keep-Alive diff --git a/tests/data/test84 b/tests/data/test84 index 629dae2fc..cf667d67a 100644 --- a/tests/data/test84 +++ b/tests/data/test84 @@ -47,7 +47,6 @@ Host: %HOSTIP:%HTTPPORT Authorization: Basic aWFtOm15c2VsZg== User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test85 b/tests/data/test85 index cb5e6e052..a11363f50 100644 --- a/tests/data/test85 +++ b/tests/data/test85 @@ -51,7 +51,6 @@ Proxy-Authorization: Basic dGVzdGluZzp0aGlz Authorization: Basic aWFtOm15c2VsZg== User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3 Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test93 b/tests/data/test93 index 138724835..948d29c4d 100644 --- a/tests/data/test93 +++ b/tests/data/test93 @@ -43,7 +43,6 @@ http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT GET http://%HOSTIP:%HTTPPORT/93 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Proxy-Connection: Keep-Alive diff --git a/tests/data/test94 b/tests/data/test94 index 2f3f4824d..94c894cb2 100644 --- a/tests/data/test94 +++ b/tests/data/test94 @@ -51,7 +51,6 @@ https://test.anything.really.com:94 --proxy1.0 %HOSTIP:%HTTPPORT CONNECT test.anything.really.com:94 HTTP/1.0 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 Host: test.anything.really.com:94 -Proxy-Connection: Keep-Alive diff --git a/tests/data/test95 b/tests/data/test95 index 1cd88acab..2b3e2c22c 100644 --- a/tests/data/test95 +++ b/tests/data/test95 @@ -64,7 +64,6 @@ http://test.95:%HTTPPORT/we/want/that/page/95 -p -x %HOSTIP:%PROXYPORT -d "datat CONNECT test.95:%HTTPPORT HTTP/1.1 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3 Host: test.95:%HTTPPORT -Proxy-Connection: Keep-Alive