Skip to content
Permalink
Browse files

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
  • Loading branch information...
Stephan Szabo authored and bagder committed Jun 24, 2019
1 parent b962820 commit 35b8bea20f90873e321e1e77d8a9936245c11ac9
Showing with 8 additions and 8 deletions.
  1. +1 −1 tests/data/test1519
  2. +4 −4 tests/data/test2032
  3. +1 −1 tests/data/test651
  4. +2 −2 tests/data/test653
@@ -53,7 +53,7 @@ res: 0
status: 302
redirects: 0
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>
<errorcode>
0
@@ -99,22 +99,22 @@ chkhostname curlhost
</strip>
<protocol>
GET /20320100 HTTP/1.1
Host: 127.0.0.1:%HTTPPORT
Host: %HOSTIP:%HTTPPORT
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
Accept: */*

GET /20320100 HTTP/1.1
Host: 127.0.0.1:%HTTPPORT
Host: %HOSTIP:%HTTPPORT
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
Accept: */*

GET /20320200 HTTP/1.1
Host: 127.0.0.1:%HTTPPORT
Host: %HOSTIP:%HTTPPORT
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
Accept: */*

GET /20320200 HTTP/1.1
Host: 127.0.0.1:%HTTPPORT
Host: %HOSTIP:%HTTPPORT
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=
Accept: */*

@@ -57,7 +57,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
# (5*12) == 60 bytes less
<protocol>
POST /651 HTTP/1.1
Host: 127.0.0.1:8990
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 17139
Content-Type: multipart/form-data; boundary=----------------------------
@@ -67,7 +67,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
# (5*12) == 60 bytes less
<protocol>
POST /653 HTTP/1.1
Host: 127.0.0.1:8990
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 150
Content-Type: multipart/form-data; boundary=----------------------------
@@ -78,7 +78,7 @@ Content-Disposition: form-data; name="name"
short value
--------------------------------
POST /653 HTTP/1.1
Host: 127.0.0.1:8990
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 167
Content-Type: multipart/form-data; boundary=----------------------------

0 comments on commit 35b8bea

Please sign in to comment.
You can’t perform that action at this time.