mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
tests: 1078 1288 1297 use valid IPv4 addresses
With the enhanced URL parser, these tests failed because of their bad IPv4 use.
This commit is contained in:
parent
17a15d8846
commit
3da642c4f0
@ -43,7 +43,7 @@ http-proxy
|
||||
HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0
|
||||
</name>
|
||||
<command>
|
||||
--proxy1.0 %HOSTIP:%PROXYPORT -p http://%HOSTIP.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER http://%HOSTIP.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER
|
||||
--proxy1.0 %HOSTIP:%PROXYPORT -p http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
@ -54,20 +54,20 @@ proxy
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<proxy>
|
||||
CONNECT %HOSTIP.%TESTNUMBER:%HTTPPORT HTTP/1.0
|
||||
Host: %HOSTIP.%TESTNUMBER:%HTTPPORT
|
||||
CONNECT %HOSTIP:%HTTPPORT HTTP/1.0
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
</proxy>
|
||||
<protocol>
|
||||
GET /we/want/that/page/%TESTNUMBER HTTP/1.1
|
||||
Host: %HOSTIP.%TESTNUMBER:%HTTPPORT
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
GET /we/want/that/page/%TESTNUMBER HTTP/1.0
|
||||
Host: %HOSTIP.%TESTNUMBER:%HTTPPORT
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
|
@ -42,7 +42,7 @@ http-proxy
|
||||
Suppress proxy CONNECT response headers
|
||||
</name>
|
||||
<command>
|
||||
--proxytunnel --suppress-connect-headers --dump-header - --include --write-out "\nCONNECT CODE: %{http_connect}\nRECEIVED HEADER BYTE TOTAL: %{size_header}\n" --proxy %HOSTIP:%PROXYPORT http://%HOSTIP.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER
|
||||
--proxytunnel --suppress-connect-headers --dump-header - --include --write-out "\nCONNECT CODE: %{http_connect}\nRECEIVED HEADER BYTE TOTAL: %{size_header}\n" --proxy %HOSTIP:%PROXYPORT http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
@ -53,15 +53,15 @@ proxy
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<proxy>
|
||||
CONNECT %HOSTIP.%TESTNUMBER:%HTTPPORT HTTP/1.1
|
||||
Host: %HOSTIP.%TESTNUMBER:%HTTPPORT
|
||||
CONNECT %HOSTIP:%HTTPPORT HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
</proxy>
|
||||
<protocol>
|
||||
GET /we/want/that/page/%TESTNUMBER HTTP/1.1
|
||||
Host: %HOSTIP.%TESTNUMBER:%HTTPPORT
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
|
@ -33,7 +33,7 @@ http-proxy
|
||||
CONNECT to peer that returns nothing
|
||||
</name>
|
||||
<command>
|
||||
--proxytunnel --proxy %HOSTIP:%PROXYPORT http://%HOSTIP.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER
|
||||
--proxytunnel --proxy %HOSTIP:%PROXYPORT http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
@ -44,15 +44,15 @@ proxy
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<proxy>
|
||||
CONNECT %HOSTIP.%TESTNUMBER:%HTTPPORT HTTP/1.1
|
||||
Host: %HOSTIP.%TESTNUMBER:%HTTPPORT
|
||||
CONNECT %HOSTIP:%HTTPPORT HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
</proxy>
|
||||
<protocol>
|
||||
GET /we/want/that/page/%TESTNUMBER HTTP/1.1
|
||||
Host: %HOSTIP.%TESTNUMBER:%HTTPPORT
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user