mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:43:32 +03:00
- 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.
This commit is contained in:
parent
dcf92bffd2
commit
bdd4294e79
28 changed files with 86 additions and 44 deletions
|
|
@ -95,12 +95,12 @@ http://test.remote.server.com:209/path/2090002 --proxy http://%HOSTIP:%HTTPPORT
|
|||
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
|
||||
</strippart>
|
||||
<protocol>
|
||||
CONNECT test.remote.server.com:209 HTTP/1.0
|
||||
CONNECT test.remote.server.com:209 HTTP/1.1
|
||||
Host: test.remote.server.com:209
|
||||
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
CONNECT test.remote.server.com:209 HTTP/1.0
|
||||
CONNECT test.remote.server.com:209 HTTP/1.1
|
||||
Host: test.remote.server.com:209
|
||||
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue