mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 09:08:49 -05:00
tests: update fixed IP for hostip/clientip split
These tests give differences for me on linux when using a hostip pointing to the external ip address for the local machine. Closes #4070
This commit is contained in:
parent
b96282010e
commit
35b8bea20f
@ -53,7 +53,7 @@ res: 0
|
|||||||
status: 302
|
status: 302
|
||||||
redirects: 0
|
redirects: 0
|
||||||
effectiveurl: http://%HOSTIP:%HTTPPORT/1519
|
effectiveurl: http://%HOSTIP:%HTTPPORT/1519
|
||||||
redirecturl: http://127.0.0.1:8990/h%20ttp://1.2.4.5/test
|
redirecturl: http://%HOSTIP:%HTTPPORT/h%20ttp://1.2.4.5/test
|
||||||
</stdout>
|
</stdout>
|
||||||
<errorcode>
|
<errorcode>
|
||||||
0
|
0
|
||||||
|
@ -99,22 +99,22 @@ chkhostname curlhost
|
|||||||
</strip>
|
</strip>
|
||||||
<protocol>
|
<protocol>
|
||||||
GET /20320100 HTTP/1.1
|
GET /20320100 HTTP/1.1
|
||||||
Host: 127.0.0.1:%HTTPPORT
|
Host: %HOSTIP:%HTTPPORT
|
||||||
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
|
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
|
||||||
Accept: */*
|
Accept: */*
|
||||||
|
|
||||||
GET /20320100 HTTP/1.1
|
GET /20320100 HTTP/1.1
|
||||||
Host: 127.0.0.1:%HTTPPORT
|
Host: %HOSTIP:%HTTPPORT
|
||||||
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
|
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
|
||||||
Accept: */*
|
Accept: */*
|
||||||
|
|
||||||
GET /20320200 HTTP/1.1
|
GET /20320200 HTTP/1.1
|
||||||
Host: 127.0.0.1:%HTTPPORT
|
Host: %HOSTIP:%HTTPPORT
|
||||||
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
||||||
Accept: */*
|
Accept: */*
|
||||||
|
|
||||||
GET /20320200 HTTP/1.1
|
GET /20320200 HTTP/1.1
|
||||||
Host: 127.0.0.1:%HTTPPORT
|
Host: %HOSTIP:%HTTPPORT
|
||||||
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=
|
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=
|
||||||
Accept: */*
|
Accept: */*
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
|
|||||||
# (5*12) == 60 bytes less
|
# (5*12) == 60 bytes less
|
||||||
<protocol>
|
<protocol>
|
||||||
POST /651 HTTP/1.1
|
POST /651 HTTP/1.1
|
||||||
Host: 127.0.0.1:8990
|
Host: %HOSTIP:%HTTPPORT
|
||||||
Accept: */*
|
Accept: */*
|
||||||
Content-Length: 17139
|
Content-Length: 17139
|
||||||
Content-Type: multipart/form-data; boundary=----------------------------
|
Content-Type: multipart/form-data; boundary=----------------------------
|
||||||
|
@ -67,7 +67,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
|
|||||||
# (5*12) == 60 bytes less
|
# (5*12) == 60 bytes less
|
||||||
<protocol>
|
<protocol>
|
||||||
POST /653 HTTP/1.1
|
POST /653 HTTP/1.1
|
||||||
Host: 127.0.0.1:8990
|
Host: %HOSTIP:%HTTPPORT
|
||||||
Accept: */*
|
Accept: */*
|
||||||
Content-Length: 150
|
Content-Length: 150
|
||||||
Content-Type: multipart/form-data; boundary=----------------------------
|
Content-Type: multipart/form-data; boundary=----------------------------
|
||||||
@ -78,7 +78,7 @@ Content-Disposition: form-data; name="name"
|
|||||||
short value
|
short value
|
||||||
--------------------------------
|
--------------------------------
|
||||||
POST /653 HTTP/1.1
|
POST /653 HTTP/1.1
|
||||||
Host: 127.0.0.1:8990
|
Host: %HOSTIP:%HTTPPORT
|
||||||
Accept: */*
|
Accept: */*
|
||||||
Content-Length: 167
|
Content-Length: 167
|
||||||
Content-Type: multipart/form-data; boundary=----------------------------
|
Content-Type: multipart/form-data; boundary=----------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user