1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 17:18:48 -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:
Stephan Szabo 2019-06-24 09:25:31 -07:00 committed by Daniel Stenberg
parent b96282010e
commit 35b8bea20f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
4 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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: */*

View File

@ -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=----------------------------

View File

@ -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=----------------------------