1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

tests: phase out haxx.se

Instead of using haxx.se as a fixed magic host name in lots of tests,
this is a first step to move toward the generic example.com host
instead.
This commit is contained in:
Daniel Stenberg 2011-03-09 23:04:38 +01:00
parent 16dcd13a2a
commit 08221e738d
17 changed files with 78 additions and 78 deletions

View File

@ -93,7 +93,7 @@ CURL_GETHOSTNAME=curlhost
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv> </setenv>
<command> <command>
http://test.remote.haxx.se:1008/path/10080002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel http://test.remote.example.com:1008/path/10080002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel
</command> </command>
<precheck> <precheck>
chkhostname curlhost chkhostname curlhost
@ -106,19 +106,19 @@ chkhostname curlhost
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
CONNECT test.remote.haxx.se:1008 HTTP/1.1 CONNECT test.remote.example.com:1008 HTTP/1.1
Host: test.remote.haxx.se:1008 Host: test.remote.example.com:1008
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
CONNECT test.remote.haxx.se:1008 HTTP/1.1 CONNECT test.remote.example.com:1008 HTTP/1.1
Host: test.remote.haxx.se:1008 Host: test.remote.example.com:1008
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q= Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
GET /path/10080002 HTTP/1.1 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 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
Host: test.remote.haxx.se:1008 Host: test.remote.example.com:1008
Accept: */* Accept: */*
</protocol> </protocol>

View File

@ -102,7 +102,7 @@ CURL_GETHOSTNAME=curlhost
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv> </setenv>
<command> <command>
http://test.remote.haxx.se:1021/path/10210002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-anyauth --proxytunnel http://test.remote.example.com:1021/path/10210002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-anyauth --proxytunnel
</command> </command>
<precheck> <precheck>
chkhostname curlhost chkhostname curlhost
@ -115,23 +115,23 @@ chkhostname curlhost
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
CONNECT test.remote.haxx.se:1021 HTTP/1.1 CONNECT test.remote.example.com:1021 HTTP/1.1
Host: test.remote.haxx.se:1021 Host: test.remote.example.com:1021
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
CONNECT test.remote.haxx.se:1021 HTTP/1.1 CONNECT test.remote.example.com:1021 HTTP/1.1
Host: test.remote.haxx.se:1021 Host: test.remote.example.com:1021
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
CONNECT test.remote.haxx.se:1021 HTTP/1.1 CONNECT test.remote.example.com:1021 HTTP/1.1
Host: test.remote.haxx.se:1021 Host: test.remote.example.com:1021
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q= Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
GET /path/10210002 HTTP/1.1 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 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
Host: test.remote.haxx.se:1021 Host: test.remote.example.com:1021
Accept: */* Accept: */*
</protocol> </protocol>

View File

@ -86,7 +86,7 @@ CURL_GETHOSTNAME=curlhost
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv> </setenv>
<command> <command>
http://test.remote.haxx.se:209/path/2090002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel http://test.remote.example.com:209/path/2090002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel
</command> </command>
<precheck> <precheck>
chkhostname curlhost chkhostname curlhost
@ -99,19 +99,19 @@ chkhostname curlhost
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
CONNECT test.remote.haxx.se:209 HTTP/1.1 CONNECT test.remote.example.com:209 HTTP/1.1
Host: test.remote.haxx.se:209 Host: test.remote.example.com:209
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
CONNECT test.remote.haxx.se:209 HTTP/1.1 CONNECT test.remote.example.com:209 HTTP/1.1
Host: test.remote.haxx.se:209 Host: test.remote.example.com:209
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q= Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
GET /path/2090002 HTTP/1.1 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 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
Host: test.remote.haxx.se:209 Host: test.remote.example.com:209
Accept: */* Accept: */*
</protocol> </protocol>

View File

@ -86,7 +86,7 @@ CURL_GETHOSTNAME=curlhost
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv> </setenv>
<command> <command>
http://test.remote.haxx.se:213/path/2130002 --proxy1.0 http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel -d "postit" http://test.remote.example.com:213/path/2130002 --proxy1.0 http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel -d "postit"
</command> </command>
<precheck> <precheck>
chkhostname curlhost chkhostname curlhost
@ -99,19 +99,19 @@ chkhostname curlhost
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol nonewline="yes"> <protocol nonewline="yes">
CONNECT test.remote.haxx.se:213 HTTP/1.0 CONNECT test.remote.example.com:213 HTTP/1.0
Host: test.remote.haxx.se:213 Host: test.remote.example.com:213
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
CONNECT test.remote.haxx.se:213 HTTP/1.0 CONNECT test.remote.example.com:213 HTTP/1.0
Host: test.remote.haxx.se:213 Host: test.remote.example.com:213
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q= Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
POST /path/2130002 HTTP/1.1 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 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
Host: test.remote.haxx.se:213 Host: test.remote.example.com:213
Accept: */* Accept: */*
Content-Length: 6 Content-Length: 6
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded

View File

@ -32,7 +32,7 @@ http
HTTP proxy CONNECT to proxy returning 405 HTTP proxy CONNECT to proxy returning 405
</name> </name>
<command> <command>
http://test.remote.haxx.se:217/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n" http://test.remote.example.com:217/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
</command> </command>
</client> </client>
@ -42,8 +42,8 @@ http://test.remote.haxx.se:217/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --p
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
CONNECT test.remote.haxx.se:217 HTTP/1.1 CONNECT test.remote.example.com:217 HTTP/1.1
Host: test.remote.haxx.se:217 Host: test.remote.example.com:217
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
</protocol> </protocol>

View File

@ -89,7 +89,7 @@ CURL_GETHOSTNAME=curlhost
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv> </setenv>
<command> <command>
http://test.remote.haxx.se:265/path/2650002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel -d "postit" http://test.remote.example.com:265/path/2650002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel -d "postit"
</command> </command>
<precheck> <precheck>
chkhostname curlhost chkhostname curlhost
@ -102,19 +102,19 @@ chkhostname curlhost
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol nonewline="yes"> <protocol nonewline="yes">
CONNECT test.remote.haxx.se:265 HTTP/1.1 CONNECT test.remote.example.com:265 HTTP/1.1
Host: test.remote.haxx.se:265 Host: test.remote.example.com:265
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
CONNECT test.remote.haxx.se:265 HTTP/1.1 CONNECT test.remote.example.com:265 HTTP/1.1
Host: test.remote.haxx.se:265 Host: test.remote.example.com:265
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q= Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
POST /path/2650002 HTTP/1.1 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 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
Host: test.remote.haxx.se:265 Host: test.remote.example.com:265
Accept: */* Accept: */*
Content-Length: 6 Content-Length: 6
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded

View File

@ -29,15 +29,15 @@ http
HTTP proxy CONNECT with custom User-Agent header HTTP proxy CONNECT with custom User-Agent header
</name> </name>
<command> <command>
http://test.remote.haxx.se:287/path/287 -H "User-Agent: looser/2007" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel http://test.remote.example.com:287/path/287 -H "User-Agent: looser/2007" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel
</command> </command>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<protocol> <protocol>
CONNECT test.remote.haxx.se:287 HTTP/1.1 CONNECT test.remote.example.com:287 HTTP/1.1
Host: test.remote.haxx.se:287 Host: test.remote.example.com:287
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
User-Agent: looser/2007 User-Agent: looser/2007

View File

@ -64,7 +64,7 @@ crypto
HTTP proxy auth Digest multi API re-using connection HTTP proxy auth Digest multi API re-using connection
</name> </name>
<command> <command>
http://test.remote.haxx.se/path/540 http://%HOSTIP:%HTTPPORT silly:person custom.set.host.name http://test.remote.example.com/path/540 http://%HOSTIP:%HTTPPORT silly:person custom.set.host.name
</command> </command>
</client> </client>
@ -74,18 +74,18 @@ http://test.remote.haxx.se/path/540 http://%HOSTIP:%HTTPPORT silly:person custom
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
GET http://test.remote.haxx.se/path/540 HTTP/1.1 GET http://test.remote.example.com/path/540 HTTP/1.1
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Host: custom.set.host.name Host: custom.set.host.name
GET http://test.remote.haxx.se/path/540 HTTP/1.1 GET http://test.remote.example.com/path/540 HTTP/1.1
Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261" Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Host: custom.set.host.name Host: custom.set.host.name
GET http://test.remote.haxx.se/path/540 HTTP/1.1 GET http://test.remote.example.com/path/540 HTTP/1.1
Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261" Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive

View File

@ -87,7 +87,7 @@ CURL_GETHOSTNAME=curlhost
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv> </setenv>
<command> <command>
http://test.remote.haxx.se/path/547 http://%HOSTIP:%HTTPPORT s1lly:pers0n http://test.remote.example.com/path/547 http://%HOSTIP:%HTTPPORT s1lly:pers0n
</command> </command>
<precheck> <precheck>
chkhostname curlhost chkhostname curlhost
@ -100,28 +100,28 @@ chkhostname curlhost
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
POST http://test.remote.haxx.se/path/547 HTTP/1.1 POST http://test.remote.example.com/path/547 HTTP/1.1
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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 36 Content-Length: 36
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
this is the blurb we want to upload this is the blurb we want to upload
POST http://test.remote.haxx.se/path/547 HTTP/1.1 POST http://test.remote.example.com/path/547 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 0 Content-Length: 0
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
POST http://test.remote.haxx.se/path/547 HTTP/1.1 POST http://test.remote.example.com/path/547 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAIYrD1xJmhNBNL9fLzuk9PV9436GAxPu0EKWzqQ/sZDVLXnp1JrySgl8A+cibE6z4HMxbGx5Y3VybGhvc3Q= Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAIYrD1xJmhNBNL9fLzuk9PV9436GAxPu0EKWzqQ/sZDVLXnp1JrySgl8A+cibE6z4HMxbGx5Y3VybGhvc3Q=
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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 36 Content-Length: 36

View File

@ -87,7 +87,7 @@ CURL_GETHOSTNAME=curlhost
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv> </setenv>
<command> <command>
http://test.remote.haxx.se/path/548 http://%HOSTIP:%HTTPPORT s1lly:pers0n http://test.remote.example.com/path/548 http://%HOSTIP:%HTTPPORT s1lly:pers0n
</command> </command>
<precheck> <precheck>
chkhostname curlhost chkhostname curlhost
@ -100,28 +100,28 @@ chkhostname curlhost
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
POST http://test.remote.haxx.se/path/548 HTTP/1.1 POST http://test.remote.example.com/path/548 HTTP/1.1
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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 36 Content-Length: 36
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
this is the blurb we want to upload this is the blurb we want to upload
POST http://test.remote.haxx.se/path/548 HTTP/1.1 POST http://test.remote.example.com/path/548 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 0 Content-Length: 0
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
POST http://test.remote.haxx.se/path/548 HTTP/1.1 POST http://test.remote.example.com/path/548 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAIYrD1xJmhNBNL9fLzuk9PV9436GAxPu0EKWzqQ/sZDVLXnp1JrySgl8A+cibE6z4HMxbGx5Y3VybGhvc3Q= Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAIYrD1xJmhNBNL9fLzuk9PV9436GAxPu0EKWzqQ/sZDVLXnp1JrySgl8A+cibE6z4HMxbGx5Y3VybGhvc3Q=
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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 36 Content-Length: 36

View File

@ -41,7 +41,7 @@ FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE
</name> </name>
# first URL then proxy # first URL then proxy
<command> <command>
ftp://www.haxx.se/moo/549 http://%HOSTIP:%HTTPPORT ftp://www.example.com/moo/549 http://%HOSTIP:%HTTPPORT
</command> </command>
</client> </client>
@ -52,8 +52,8 @@ ftp://www.haxx.se/moo/549 http://%HOSTIP:%HTTPPORT
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET ftp://www.haxx.se/moo/549;type=i HTTP/1.1 GET ftp://www.example.com/moo/549;type=i HTTP/1.1
Host: www.haxx.se:21 Host: www.example.com:21
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive

View File

@ -41,7 +41,7 @@ FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer
</name> </name>
# first URL then proxy # first URL then proxy
<command> <command>
ftp://www.haxx.se/moo/550 http://%HOSTIP:%HTTPPORT ascii ftp://www.example.com/moo/550 http://%HOSTIP:%HTTPPORT ascii
</command> </command>
</client> </client>
@ -52,8 +52,8 @@ ftp://www.haxx.se/moo/550 http://%HOSTIP:%HTTPPORT ascii
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET ftp://www.haxx.se/moo/550;type=a HTTP/1.1 GET ftp://www.example.com/moo/550;type=a HTTP/1.1
Host: www.haxx.se:21 Host: www.example.com:21
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive

View File

@ -66,7 +66,7 @@ lib547
HTTP proxy auth Digest with POST data from read callback HTTP proxy auth Digest with POST data from read callback
</name> </name>
<command> <command>
http://test.remote.haxx.se/path/551 http://%HOSTIP:%HTTPPORT s1lly:pers0n http://test.remote.example.com/path/551 http://%HOSTIP:%HTTPPORT s1lly:pers0n
</command> </command>
</client> </client>
@ -76,17 +76,17 @@ http://test.remote.haxx.se/path/551 http://%HOSTIP:%HTTPPORT s1lly:pers0n
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
POST http://test.remote.haxx.se/path/551 HTTP/1.1 POST http://test.remote.example.com/path/551 HTTP/1.1
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 36 Content-Length: 36
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
this is the blurb we want to upload this is the blurb we want to upload
POST http://test.remote.haxx.se/path/551 HTTP/1.1 POST http://test.remote.example.com/path/551 HTTP/1.1
Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/551", response="3325240726fbdaf1e61f3a0dd40b930c" Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/551", response="3325240726fbdaf1e61f3a0dd40b930c"
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 36 Content-Length: 36

Binary file not shown.

View File

@ -92,7 +92,7 @@ CURL_GETHOSTNAME=curlhost
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv> </setenv>
<command> <command>
http://test.remote.haxx.se/path/555 http://%HOSTIP:%HTTPPORT s1lly:pers0n http://test.remote.example.com/path/555 http://%HOSTIP:%HTTPPORT s1lly:pers0n
</command> </command>
<precheck> <precheck>
chkhostname curlhost chkhostname curlhost
@ -109,28 +109,28 @@ chkhostname curlhost
s/^(this is the blurb we want to upload)\r\n/$1\n/ if($has_charconv) s/^(this is the blurb we want to upload)\r\n/$1\n/ if($has_charconv)
</strippart> </strippart>
<protocol> <protocol>
POST http://test.remote.haxx.se/path/555 HTTP/1.1 POST http://test.remote.example.com/path/555 HTTP/1.1
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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 36 Content-Length: 36
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
this is the blurb we want to upload this is the blurb we want to upload
POST http://test.remote.haxx.se/path/555 HTTP/1.1 POST http://test.remote.example.com/path/555 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 0 Content-Length: 0
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
POST http://test.remote.haxx.se/path/555 HTTP/1.1 POST http://test.remote.example.com/path/555 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAIYrD1xJmhNBNL9fLzuk9PV9436GAxPu0EKWzqQ/sZDVLXnp1JrySgl8A+cibE6z4HMxbGx5Y3VybGhvc3Q= Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAIYrD1xJmhNBNL9fLzuk9PV9436GAxPu0EKWzqQ/sZDVLXnp1JrySgl8A+cibE6z4HMxbGx5Y3VybGhvc3Q=
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 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
Host: test.remote.haxx.se Host: test.remote.example.com
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
Content-Length: 36 Content-Length: 36

View File

@ -42,7 +42,7 @@ FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i
</name> </name>
# first URL then proxy # first URL then proxy
<command> <command>
"ftp://www.haxx.se/moo/561;type=i" http://%HOSTIP:%HTTPPORT ascii "ftp://www.example.com/moo/561;type=i" http://%HOSTIP:%HTTPPORT ascii
</command> </command>
</client> </client>
@ -53,8 +53,8 @@ FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET ftp://www.haxx.se/moo/561;type=i HTTP/1.1 GET ftp://www.example.com/moo/561;type=i HTTP/1.1
Host: www.haxx.se:21 Host: www.example.com:21
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive

View File

@ -27,7 +27,7 @@ Content-Type: application/sdp
v=0 v=0
s=rtspd SDP s=rtspd SDP
i=A fake SDP reply i=A fake SDP reply
u=http://www.curl.haxx.se/fakesdp.ps u=http://www.curl.example.com/fakesdp.ps
</data2> </data2>
<data3> <data3>
RTSP/1.0 200 Okie Dokie RTSP/1.0 200 Okie Dokie