From bdd4294e79eea15cb6f312f7ee7d388ad40a65e3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 Feb 2009 16:19:23 +0000 Subject: - Craig A West brought us: libcurl now defaults to do CONNECT with HTTP version 1.1 instead of 1.0 like before. This change also introduces the new proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0 option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0. I updated all test cases cases that use CONNECT and I tried to do some using --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run. --- tests/data/test1021 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/data/test1021') diff --git a/tests/data/test1021 b/tests/data/test1021 index 868714769..e08aad19d 100644 --- a/tests/data/test1021 +++ b/tests/data/test1021 @@ -111,16 +111,16 @@ http://test.remote.server.com:1021/path/10210002 --proxy http://%HOSTIP:%HTTPPOR s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/ -CONNECT test.remote.server.com:1021 HTTP/1.0 +CONNECT test.remote.server.com:1021 HTTP/1.1 Host: test.remote.server.com:1021 Proxy-Connection: Keep-Alive -CONNECT test.remote.server.com:1021 HTTP/1.0 +CONNECT test.remote.server.com:1021 HTTP/1.1 Host: test.remote.server.com:1021 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= Proxy-Connection: Keep-Alive -CONNECT test.remote.server.com:1021 HTTP/1.0 +CONNECT test.remote.server.com:1021 HTTP/1.1 Host: test.remote.server.com:1021 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA Proxy-Connection: Keep-Alive -- cgit v1.2.3