]> granicus.if.org Git - curl/commitdiff
Now the test servers and test cases can run on a custom port number. There's
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Sep 2004 08:08:38 +0000 (08:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Sep 2004 08:08:38 +0000 (08:08 +0000)
no fixed port numbers in use anymore. Starting now, the default ports the
servers use are 8990 - 8993. There's no option to modify these yet, but
changing the $base option in the top of the runtests.pl script.

145 files changed:
tests/data/test1
tests/data/test10
tests/data/test11
tests/data/test12
tests/data/test13
tests/data/test14
tests/data/test15
tests/data/test150
tests/data/test151
tests/data/test152
tests/data/test153
tests/data/test154
tests/data/test155
tests/data/test156
tests/data/test157
tests/data/test158
tests/data/test159
tests/data/test16
tests/data/test160
tests/data/test162
tests/data/test163
tests/data/test164
tests/data/test165
tests/data/test166
tests/data/test167
tests/data/test168
tests/data/test169
tests/data/test17
tests/data/test170
tests/data/test171
tests/data/test172
tests/data/test173
tests/data/test174
tests/data/test175
tests/data/test176
tests/data/test177
tests/data/test178
tests/data/test179
tests/data/test18
tests/data/test180
tests/data/test181
tests/data/test183
tests/data/test2
tests/data/test22
tests/data/test23
tests/data/test24
tests/data/test25
tests/data/test26
tests/data/test27
tests/data/test28
tests/data/test29
tests/data/test3
tests/data/test30
tests/data/test300
tests/data/test301
tests/data/test302
tests/data/test303
tests/data/test304
tests/data/test305
tests/data/test306
tests/data/test31
tests/data/test32
tests/data/test33
tests/data/test34
tests/data/test36
tests/data/test37
tests/data/test38
tests/data/test39
tests/data/test4
tests/data/test40
tests/data/test41
tests/data/test42
tests/data/test43
tests/data/test44
tests/data/test45
tests/data/test46
tests/data/test47
tests/data/test48
tests/data/test49
tests/data/test5
tests/data/test50
tests/data/test500
tests/data/test501
tests/data/test503
tests/data/test506
tests/data/test508
tests/data/test509
tests/data/test51
tests/data/test510
tests/data/test512
tests/data/test513
tests/data/test514
tests/data/test52
tests/data/test53
tests/data/test54
tests/data/test55
tests/data/test56
tests/data/test57
tests/data/test58
tests/data/test59
tests/data/test6
tests/data/test60
tests/data/test61
tests/data/test62
tests/data/test63
tests/data/test64
tests/data/test65
tests/data/test66
tests/data/test67
tests/data/test68
tests/data/test69
tests/data/test7
tests/data/test70
tests/data/test71
tests/data/test72
tests/data/test73
tests/data/test74
tests/data/test75
tests/data/test76
tests/data/test77
tests/data/test78
tests/data/test79
tests/data/test8
tests/data/test80
tests/data/test81
tests/data/test82
tests/data/test83
tests/data/test84
tests/data/test85
tests/data/test86
tests/data/test87
tests/data/test88
tests/data/test89
tests/data/test9
tests/data/test90
tests/data/test91
tests/data/test92
tests/data/test93
tests/data/test94
tests/data/test95
tests/data/test97
tests/data/test98
tests/data/test99
tests/libtest/lib509.c
tests/runtests.pl

index 0d553230d2178e87f327209bb55fa72ea6e7a2a3..cd23462b56f1c0d845e5ce17aae81578f031cfa3 100644 (file)
@@ -27,7 +27,7 @@ http
 simple HTTP GET
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/1
+http://%HOSTIP:%HTTPPORT/1
 </command>
 </client>
 
@@ -39,7 +39,7 @@ http://%HOSTIP:%HOSTPORT/1
 </strip>
 <protocol>
 GET /1 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 9136ec189ca915d4d493ecc3ad66dc91b1e6cb3d..e2f0909e65bf664a644b11c0b1ddc11c2f700aa8 100644 (file)
@@ -19,7 +19,7 @@ http
 simple HTTP PUT from file
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/10 -T log/test10.txt
+http://%HOSTIP:%HTTPPORT/we/want/10 -T log/test10.txt
 </command>
 <file name="log/test10.txt">
 Weird
@@ -41,7 +41,7 @@ the
 </strip>
 <protocol>
 PUT /we/want/10 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 78\r
index 837dc92912d96081c45c317959561fecf37c098c..932dd239191fcfeab2f1a3ddd48730becdd5947e 100644 (file)
@@ -43,7 +43,7 @@ http
 simple HTTP Location: following
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/11 -L
+http://%HOSTIP:%HTTPPORT/want/11 -L
 </command>
 </test>
 
@@ -54,12 +54,12 @@ http://%HOSTIP:%HOSTPORT/want/11 -L
 </strip>
 <protocol>
 GET /want/11 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /want/data/110002.txt?coolsite=yes HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 242246f810cde5c8ce2bc8ea416f926cea17625d..245fde2aee9058756e8884e7eb8bdc8953bc3523 100644 (file)
@@ -27,7 +27,7 @@ http
 HTTP range support
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/12 -r 100-200
+http://%HOSTIP:%HTTPPORT/want/12 -r 100-200
 </command>
 </test>
 
@@ -39,7 +39,7 @@ http://%HOSTIP:%HOSTPORT/want/12 -r 100-200
 <protocol>
 GET /want/12 HTTP/1.1\r
 Range: bytes=100-200\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 50b41364150293f543a21a218045068d087d5763..45d0768dc7b7307d2ecedaf7f756cc86875e5697 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP custom request 'DELETE'
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/13 -X DELETE
+http://%HOSTIP:%HTTPPORT/want/13 -X DELETE
 </command>
 </test>
 
@@ -29,7 +29,7 @@ http://%HOSTIP:%HOSTPORT/want/13 -X DELETE
 </strip>
 <protocol>
 DELETE /want/13 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 7095bf7a2ae7b6e3bc30fdbc78f6c23955875b94..bbc4ba68d64895ad9d965070a06d60db563fc7a1 100644 (file)
@@ -17,7 +17,7 @@ http
 HTTP HEAD with Connection: close
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/14 -i --head
+http://%HOSTIP:%HTTPPORT/want/14 -i --head
 </command>
 </test>
 
@@ -29,7 +29,7 @@ http://%HOSTIP:%HOSTPORT/want/14 -i --head
 <protocol>
 HEAD /want/14 HTTP/1.1\r
 User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 52225f26f23a2491a09b3f0d05f2933512bee4f2..d42ab7b4fb92e0454513ac9589ce2ed200fccf9d 100644 (file)
@@ -20,7 +20,7 @@ http
 --write-out test
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/15 --write-out '%{url_effective} %{http_code} %{size_download}\n'
+http://%HOSTIP:%HTTPPORT/want/15 --write-out '%{url_effective} %{http_code} %{size_download}\n'
 </command>
 </test>
 
@@ -34,14 +34,14 @@ Fake: yes
 Content-Length: 26\r
 \r
 Repeated nonsense-headers
-http://127.0.0.1:8999/want/15 200 26
+http://127.0.0.1:%HTTPPORT/want/15 200 26
 </stdout>
 <strip>
 ^User-Agent:.*
 </strip>
 <protocol>
 GET /want/15 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index ac23de02fb859f5893215f408b0fcd2ea49c0daa..98648cd8163e57bfc612fdb7239a32e6f446c6e5 100644 (file)
@@ -54,7 +54,7 @@ http
 HTTP with NTLM authorization and --fail
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/150 -u testuser:testpass --ntlm --fail
+http://%HOSTIP:%HTTPPORT/150 -u testuser:testpass --ntlm --fail
 </command>
 </test>
 
@@ -67,14 +67,14 @@ http://%HOSTIP:%HOSTPORT/150 -u testuser:testpass --ntlm --fail
 GET /150 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /150 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index f499f96c0a229e557a5282848af1a69d989227aa..c79ab40dd8a8c73293d4e11f5a281615264f7355 100644 (file)
@@ -20,7 +20,7 @@ http
 HTTP GET with an error code that might trick authentication
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/151
+http://%HOSTIP:%HTTPPORT/151
 </command>
 </test>
 
@@ -32,7 +32,7 @@ http://%HOSTIP:%HOSTPORT/151
 <protocol>
 GET /151 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 7edd0afc8394e4bb22bb50657ad692b998dc2962..86ac68d244c272f8fe0778aedf3ff60622b31ec3 100644 (file)
@@ -20,7 +20,7 @@ http
 HTTP GET with an error code that might trick authentication and --fail
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/152 --fail
+http://%HOSTIP:%HTTPPORT/152 --fail
 </command>
 </test>
 
@@ -32,7 +32,7 @@ http://%HOSTIP:%HOSTPORT/152 --fail
 <protocol>
 GET /152 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 0cf0acd1fe1f23ba9f2f72da6b19a26bb721c94c..a2d15191a89a33ce5921e3a633c5a0b87bd0a5fc 100644 (file)
@@ -56,7 +56,7 @@ http
 HTTP with Digest authorization with stale=true
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/1530001 -u testuser:testpass --digest http://%HOSTIP:%HOSTPORT/1530002
+http://%HOSTIP:%HTTPPORT/1530001 -u testuser:testpass --digest http://%HOSTIP:%HTTPPORT/1530002
 </command>
 </test>
 
@@ -68,28 +68,28 @@ http://%HOSTIP:%HOSTPORT/1530001 -u testuser:testpass --digest http://%HOSTIP:%H
 </strip>
 <protocol>
 GET /1530001 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /1530001 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/1530001", response="f4f83139396995bac665f24a1f1055c7"\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /1530002 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/1530002", response="f84511b014fdd0ba6494f42871079c32"\r
 User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /1530002 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/1530002", cnonce="MTA4MzIy", nc="00000001", qop="auth", response="25291c357671604a16c0242f56721c07", algorithm="MD5"\r
 User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index b9b9649c7daa71e06c1d546d9cd767c7a4c5566d..07be0c6b43f94775a86a545431ab3ebaa446dff0 100644 (file)
@@ -56,7 +56,7 @@ http
 HTTP PUT with --anyauth authorization (picking Digest)
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/154 -T log/put154 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/154 -T log/put154 -u testuser:testpass --anyauth
 </command>
 <file name="log/put154">
 This is data we upload with PUT
@@ -73,14 +73,14 @@ four is the number of lines
 </strip>
 <protocol>
 HEAD /154 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 PUT /154 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/154", response="b71551e12d1c456e47d8388ecb2edeca"\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 85\r
index 0e486a65e926f36c19e9aa9004e95217c2f4b3ea..56322ebe2d71293f72096a754f0795a29b7d0596 100644 (file)
@@ -74,7 +74,7 @@ http
 HTTP PUT with --anyauth authorization (picking NTLM)
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/155 -T log/put155 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/155 -T log/put155 -u testuser:testpass --anyauth
 </command>
 <file name="log/put155">
 This is data we upload with PUT
@@ -91,20 +91,20 @@ four is the number of lines
 </strip>
 <protocol>
 HEAD /155 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 HEAD /155 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 PUT /155 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 85\r
index 94ac0ed98d2ecb5bffe48442c020ffe7bb3b7e2b..f2f4aaabc599e86a06310cf82ff0412dfd0c783f 100644 (file)
@@ -42,7 +42,7 @@ http
 HTTP PUT with --anyauth (when the server requires none)
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/156 -T log/put156 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/156 -T log/put156 -u testuser:testpass --anyauth
 </command>
 <file name="log/put156">
 This is data we upload with PUT
@@ -59,13 +59,13 @@ four is the number of lines
 </strip>
 <protocol>
 HEAD /156 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 PUT /156 HTTP/1.1\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 85\r
index 3f6ed369191f24c0b2ba1d9b6a2c94d96313e953..c48d36fad87b9055bd912eee24164f4044c386e4 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP GET with --anyauth (when the server requires none)
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/157 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/157 -u testuser:testpass --anyauth
 </command>
 </client>
 
@@ -30,7 +30,7 @@ http://%HOSTIP:%HOSTPORT/157 -u testuser:testpass --anyauth
 </strip>
 <protocol>
 GET /157 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 95ad059788b6dae92009ec5ded7d4fd850bc449b..463b7a5a470ba62c976371adfcd7bd8a730ff9f1 100644 (file)
@@ -16,7 +16,7 @@ http
 HTTP multipart formpost with only a 100 reply
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/158 -F name=daniel
+http://%HOSTIP:%HTTPPORT/158 -F name=daniel
 </command>
 </client>
 
@@ -30,7 +30,7 @@ http://%HOSTIP:%HOSTPORT/158 -F name=daniel
 <protocol>
 POST /158 HTTP/1.1\r
 User-Agent: curl/7.11.2-CVS (i686-pc-linux-gnu) libcurl/7.11.2-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 145\r
index 09a9838f7a7470a07c077db2c97d42c8745fec42..7ad1c76a875620b5cd1ad41926e53fb1d7995ea3 100644 (file)
@@ -54,7 +54,7 @@ http
 HTTP with NTLM authorization when talking HTTP/1.0
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/159 -u testuser:testpass --ntlm -0
+http://%HOSTIP:%HTTPPORT/159 -u testuser:testpass --ntlm -0
 </command>
 </test>
 
@@ -67,14 +67,14 @@ http://%HOSTIP:%HOSTPORT/159 -u testuser:testpass --ntlm -0
 GET /159 HTTP/1.0\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /159 HTTP/1.0\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 4adea4a8db2b820d4a5f07cc271d2b96fd6e8eef..2bdd46e601d512f5720f5a89573576eea49bad2b 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP with proxy athorization
  </name>
  <command>
- -U fake@user:§§§looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x %HOSTIP:%HOSTPORT http://we.want.that.site.com/16
+ -U fake@user:§§§looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x %HOSTIP:%HTTPPORT http://we.want.that.site.com/16
 </command>
 </test>
 
index 48f6aa54903ab11423d9f719667cf56b1e785054..26ef7ec72184038a1d8e38f9b65c8d1f37d6ca55 100644 (file)
@@ -29,7 +29,7 @@ http
 HTTP with delayed close, conn reuse, connection reset and retry
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/160 http://%HOSTIP:%HOSTPORT/wantmore/1600001
+http://%HOSTIP:%HTTPPORT/want/160 http://%HOSTIP:%HTTPPORT/wantmore/1600001
 </command>
 </test>
 
@@ -53,12 +53,12 @@ surprise2
 </strip>
 <protocol>
 GET /want/160 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /wantmore/1600001 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index e02952be551158709e792659df505f475dcbe42a..d30804ac51f7a025a690b3df516cbf5a6b4db2c9 100644 (file)
@@ -25,7 +25,7 @@ http
 HTTP GET asking for --proxy-ntlm when some other authentication is required
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/162 --proxy http://%HOSTIP:%HOSTPORT --proxy-user foo:bar --proxy-ntlm --fail
+http://%HOSTIP:%HTTPPORT/162 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm --fail
 </command>
 </test>
 
@@ -35,10 +35,10 @@ http://%HOSTIP:%HOSTPORT/162 --proxy http://%HOSTIP:%HOSTPORT --proxy-user foo:b
 ^User-Agent: curl/.*
 </strip>
 <protocol>
-GET http://127.0.0.1:8999/162 HTTP/1.1\r
+GET http://127.0.0.1:%HTTPPORT/162 HTTP/1.1\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index fefe8448bacc9ffc7d9dccbd0717ccbfba029927..6712e24eada222afa41f4474996ab26fcb62da88 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP multipart formpost with contents from a file
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/163 -F "name=<log/field163" -F tool=curl
+http://%HOSTIP:%HTTPPORT/we/want/163 -F "name=<log/field163" -F tool=curl
 </command>
 # We create this file before the command is invoked!
 <file name="log/field163">
@@ -42,7 +42,7 @@ yes please
 <protocol>
 POST /we/want/163 HTTP/1.1\r
 User-Agent: curl/7.11.2-CVS (i686-pc-linux-gnu) libcurl/7.11.2-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.0.0\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 304\r
index f944bdb8d7f451267929ee31e5a4dc80962035f5..366ea415705afa7beef2893838945957790e5011 100644 (file)
@@ -39,7 +39,7 @@ http
 HTTP range with multiple ranges
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/164 -r 0-10,12-15
+http://%HOSTIP:%HTTPPORT/want/164 -r 0-10,12-15
 </command>
 </test>
 
@@ -51,7 +51,7 @@ http://%HOSTIP:%HOSTPORT/want/164 -r 0-10,12-15
 <protocol>
 GET /want/164 HTTP/1.1\r
 Range: bytes=0-10,12-15\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 9d6ce9dbecb13db07c982a487afd13a54463eba9..0475b69037b653ed3d10e0255a9f103fdf6ae6e0 100644 (file)
@@ -27,7 +27,7 @@ CHARSET=ISO8859-1
 HTTP over proxy with IDN host name
  </name>
  <command>
-http://www.åäö.se/page/165 -x %HOSTIP:%HOSTPORT
+http://www.åäö.se/page/165 -x %HOSTIP:%HTTPPORT
 </command>
 </test>
 
index fada82ba7d00b63cc6526383f206c98691f80c48..07a0675ef9282f770bd3ba41049195af554c2b3d 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP formpost a file with spaces in name
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/166 -F "name=@log/fie ld 166"
+http://%HOSTIP:%HTTPPORT/we/want/166 -F "name=@log/fie ld 166"
 </command>
 # We create this file before the command is invoked!
 <file name="log/fie ld 166">
@@ -34,7 +34,7 @@ data inside the file
 <protocol>
 POST /we/want/166 HTTP/1.1\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.2.0 libidn/0.4.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 227\r
index 5dda8770aed24ac32312d9b633e3a53ecbe1720b..4e57fab4a9f46b9a860ce8c543834bdbb8cdbd52 100644 (file)
@@ -33,7 +33,7 @@ http
 HTTP with proxy-requiring-Basic to site-requiring-Digest
  </name>
  <command>
-http://data.from.server.requiring.digest.hohoho.com/167 --proxy http://%HOSTIP:%HOSTPORT --proxy-user foo:bar --digest --user digest:alot
+http://data.from.server.requiring.digest.hohoho.com/167 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --digest --user digest:alot
 </command>
 </test>
 
index 306a8b2a31b6a2e3018261b4be044cea32dcd66b..b740a35369b9508440deee73cbc7aa70b1db85f6 100644 (file)
@@ -47,7 +47,7 @@ http
 HTTP with proxy-requiring-Digest to site-requiring-Digest
  </name>
  <command>
-http://data.from.server.requiring.digest.hohoho.com/168 --proxy http://%HOSTIP:%HOSTPORT --proxy-user foo:bar --proxy-digest --digest --user digest:alot
+http://data.from.server.requiring.digest.hohoho.com/168 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-digest --digest --user digest:alot
 </command>
 </test>
 
index ddd8e4ce3ba371244befd4e88649438c36557282..f0c0ccea7f3a165e1c1b5a1f3337f18a07f27243 100644 (file)
@@ -72,7 +72,7 @@ SSL
 HTTP with proxy-requiring-NTLM to site-requiring-Digest
  </name>
  <command>
-http://data.from.server.requiring.digest.hohoho.com/169 --proxy http://%HOSTIP:%HOSTPORT --proxy-user foo:bar --proxy-ntlm --digest --user digest:alot
+http://data.from.server.requiring.digest.hohoho.com/169 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm --digest --user digest:alot
 </command>
 </test>
 
index 5b1390eefc14777ea79e213f587b470838f6fc0c..de0e2d30344d9a1f7729d955a5aac63e79b0ab8a 100644 (file)
@@ -29,7 +29,7 @@ request MOOO
 --max-time 180
  </stdin>
  <command>
--K - %HOSTIP:%HOSTPORT/that.site.com/17
+-K - %HOSTIP:%HTTPPORT/that.site.com/17
 </command>
 </test>
 
@@ -38,7 +38,7 @@ request MOOO
 <protocol>
 MOOO /that.site.com/17 HTTP/1.1\r
 User-Agent: agent007 license to drill  \r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index cd6054145039ae08c80a1465e30d1759c18b4046..659f693db3263dbf30a6735d992da97caa78d700 100644 (file)
@@ -14,7 +14,7 @@ SSL
 HTTP POST with --proxy-ntlm and no SSL with no response
  </name>
  <command>
-http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HOSTPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
+http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
 </command>
 </test>
 
index e8e493ad76e16e4893d88bb24ef2e55e71d9859f..26bbf2e7f4e40f6eda5834dd546b157d705415db 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP, get cookie with dot prefixed full domain
  </name>
  <command>
--c log/jar171 -x %HOSTIP:%HOSTPORT http://z.x.com/171
+-c log/jar171 -x %HOSTIP:%HTTPPORT http://z.x.com/171
 </command>
 </client>
 
index ff1cb7abe44cdaaf9ffebc4a7ead894a9a3cc2ca..513e44cd26c82659571e2f6dbc99ac95dcb16eff 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP with cookies file and custom added cookie
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool"
+http://%HOSTIP:%HTTPPORT/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool"
 </command>
 <file name="log/jar172.txt">
 # Netscape HTTP Cookie File
@@ -38,7 +38,7 @@ http://%HOSTIP:%HOSTPORT/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool"
 </strip>
 <protocol>
 GET /we/want/172 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Cookie: nodomain=value; partmatch=present; tool=curl; name=fool\r
index f2372bda9a339e76dade64b047562b080e0d7c17..8d668dd3553a677be40a72ca8cfffd2364b61701 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP RFC1867-formpost a file from stdin with "faked" filename
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/173 -F field1=contents1 -F "fileupload=@-;filename=/dev/null"
+http://%HOSTIP:%HTTPPORT/we/want/173 -F field1=contents1 -F "fileupload=@-;filename=/dev/null"
 </command>
 
 <stdin>
@@ -42,7 +42,7 @@ line8
 <protocol>
 POST /we/want/173 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 359\r
index b5782be69608c46a765a7985d145c62f1471b181..363a4899e97afcb3c0628320067eda5819964b39 100644 (file)
@@ -42,7 +42,7 @@ http
 HTTP POST --anyauth to server not requiring any auth at all
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
 </command>
 </test>
 
@@ -54,13 +54,13 @@ http://%HOSTIP:%HOSTPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
 <protocol nonewline=yes>
 HEAD /174 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 POST /174 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 11\r
index a8c648d16cded298f5ff260829106ff820612cfc..57496cd8332312f3f946e4aea2f5dddad640cfbe 100644 (file)
@@ -42,7 +42,7 @@ http
 HTTP POST --digest to server not requiring any auth at all
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/175 -u auser:apasswd --digest -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/175 -u auser:apasswd --digest -d "junkelijunk"
 </command>
 </test>
 
@@ -54,13 +54,13 @@ http://%HOSTIP:%HOSTPORT/175 -u auser:apasswd --digest -d "junkelijunk"
 <protocol nonewline=yes>
 HEAD /175 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 POST /175 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 11\r
index a270110f757ec836f190a1624f7ac1c81632ef2c..387a6895957858db76a787a5174211f6871f7666 100644 (file)
@@ -46,7 +46,7 @@ http
 HTTP POST --ntlm to server not requiring any auth at all
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/176 -u auser:apasswd --ntlm -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/176 -u auser:apasswd --ntlm -d "junkelijunk"
 </command>
 </test>
 
@@ -59,13 +59,13 @@ http://%HOSTIP:%HOSTPORT/176 -u auser:apasswd --ntlm -d "junkelijunk"
 HEAD /176 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 POST /176 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 11\r
index e8c0324dc9ec56fbbc7d46e08ffe9f8314b7258f..8543ab694dfa848e410aa564ba0e12337d114188 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP POST --digest to server doing a 302-location response
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/177 -u auser:apasswd --digest -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/177 -u auser:apasswd --digest -d "junkelijunk"
 </command>
 </test>
 
@@ -31,7 +31,7 @@ http://%HOSTIP:%HOSTPORT/177 -u auser:apasswd --digest -d "junkelijunk"
 <protocol>
 HEAD /177 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 7d5403d56bd25f90e29472e7b8d1438ef1c3ce9d..45bb9a2e74f1debaf43a41a366da7d01b474d16c 100644 (file)
@@ -22,7 +22,7 @@ http
 simple HTTP GET with negative Content-Length
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/178
+http://%HOSTIP:%HTTPPORT/178
 </command>
 </client>
 
@@ -34,7 +34,7 @@ http://%HOSTIP:%HOSTPORT/178
 </strip>
 <protocol>
 GET /178 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index d632262633f76db581a5e46fa01c65caf4ce6d04..edef6bbd5004bb3ccb5678362c0e77181dd9f0e6 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP using proxy and cookies with path checks
  </name>
  <command>
-http://supertrooper.fake/c/179 -b log/injar179 -x %HOSTIP:%HOSTPORT
+http://supertrooper.fake/c/179 -b log/injar179 -x %HOSTIP:%HTTPPORT
 </command>
 <file name="log/injar179">
 supertrooper.fake      FALSE   /a      FALSE   2139150993      mooo    indeed
index 67a8361f554af39784b8f79201f81de7d5fcf76d..38519b46dbae85521600ff4f07fb7ddd0b93afc4 100644 (file)
@@ -32,7 +32,7 @@ http
 multiple requests using {} in URL
  </name>
  <command>
-'%HOSTIP:%HOSTPORT/{18,180002,180003}'
+'%HOSTIP:%HTTPPORT/{18,180002,180003}'
 </command>
 </test>
 
@@ -44,37 +44,37 @@ multiple requests using {} in URL
 <protocol>
 GET /18 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /180002 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /180003 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 </protocol>
 <stdout>
---_curl_--127.0.0.1:8999/18
+--_curl_--127.0.0.1:%HTTPPORT/18
 HTTP/1.1 200 OK
 Funny-head: yesyes
 Content-Length: 4\r
 
 moo
---_curl_--127.0.0.1:8999/180002
+--_curl_--127.0.0.1:%HTTPPORT/180002
 HTTP/1.1 200 OK
 Funny-head: yesyes
 Content-Length: 4\r
 
 foo
---_curl_--127.0.0.1:8999/180003
+--_curl_--127.0.0.1:%HTTPPORT/180003
 HTTP/1.1 200 OK
 Funny-head: yesyes
 Content-Length: 4\r
index ac4be829f226ec1dbaf7639b30b3ace194de5e1a..d76d6377902e56aa2ac4dfc1606d6b685a86c53e 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP 1.0 PUT
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/180 -T log/test180.txt --http1.0
+http://%HOSTIP:%HTTPPORT/we/want/180 -T log/test180.txt --http1.0
 </command>
 <file name="log/test180.txt">
 Weird
@@ -40,7 +40,7 @@ the
 </strip>
 <protocol>
 PUT /we/want/180 HTTP/1.0\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 78\r
index db7d92dc8257c3b888329649b32288dd093a1df3..15d9d2a8dd5834ef125cc4ae866caab014c870ef 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP 1.0 POST
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/181 --data-binary @log/test181.txt --http1.0
+http://%HOSTIP:%HTTPPORT/we/want/181 --data-binary @log/test181.txt --http1.0
 </command>
 <file name="log/test181.txt">
 Weird
@@ -40,7 +40,7 @@ the
 </strip>
 <protocol>
 POST /we/want/181 HTTP/1.0\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 79\r
index 6a9e9ba928565f06405ba7217eacebe0d335d530..1278e418de97078cd72f58c1d1a9c80534b2cee2 100644 (file)
@@ -21,7 +21,7 @@ SSL
 HTTP GET two URLs over a single proxy with persistent connection
  </name>
  <command>
-http://deathstar.another.galaxy/183 http://a.galaxy.far.far.away/183 --proxy http://%HOSTIP:%HOSTPORT
+http://deathstar.another.galaxy/183 http://a.galaxy.far.far.away/183 --proxy http://%HOSTIP:%HTTPPORT
 </command>
 </test>
 
index a7c231a4958a571bb864d06b8f61fe973fb73d74..5b7e85052ea8765523145cc26e4471b4ce180994 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP GET with user and password
  </name>
  <command>
- -u fake:user http://%HOSTIP:%HOSTPORT/2
+ -u fake:user http://%HOSTIP:%HTTPPORT/2
 </command>
 </test>
 
@@ -34,7 +34,7 @@ HTTP GET with user and password
 <protocol>
 GET /2 HTTP/1.1\r
 Authorization: Basic ZmFrZTp1c2Vy\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 32ed119ab5bd64281fa834c887268273aeef4173..3e0f21fdec1dfb812546cf686cd0c4f4fdbbedad 100644 (file)
@@ -18,7 +18,7 @@ http
 get HTTP with URL > 10000 bytes
  </name>
  <command>
-%HOSTIP:%HOSTPORT/`perl -e 'print "a" x 10000;'`/22
+%HOSTIP:%HTTPPORT/`perl -e 'print "a" x 10000;'`/22
 </command>
 </test>
 
@@ -30,7 +30,7 @@ get HTTP with URL > 10000 bytes
 <protocol>
 GET /aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/22 HTTP/1.1\r
 User-Agent: curl/7.4.2 (sparc-sun-solaris2.7) libcurl 7.4.2 (SSL 0.9.6)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index dfd0967f893496ae406d62c36fc1862ae584963f..f3d860b68bbb61cd6322fb076ce544098142c960 100644 (file)
@@ -13,7 +13,7 @@ http
 unsupported protocol:// URL
  </name>
  <command>
-htfp://%HOSTIP:%HOSTPORT/none.htfml
+htfp://%HOSTIP:%HTTPPORT/none.htfml
 </command>
 </test>
 
index 99d055fc2e730fd890a7aeb1f516d71c2f36b281..b530a234d5e34175db3569f92e6888bd0c1c0ae1 100644 (file)
@@ -17,7 +17,7 @@ http
 HTTP GET fail silently on HTTP error return
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/24 --fail
+http://%HOSTIP:%HTTPPORT/24 --fail
 </command>
 </test>
 
@@ -29,7 +29,7 @@ http://%HOSTIP:%HOSTPORT/24 --fail
 <protocol>
 GET /24 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 13ad5a4e8f1083168f79742e7cdac2d734930dd3..6cf5dc2bd7d9e37f6f3bc981d3ad39ace375ceb2 100644 (file)
@@ -58,7 +58,7 @@ http
 looping HTTP Location: following with --max-redirs, no persistance
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/25 -L --max-redirs 5
+http://%HOSTIP:%HTTPPORT/want/25 -L --max-redirs 5
 </command>
 </test>
 
@@ -70,37 +70,37 @@ http://%HOSTIP:%HOSTPORT/want/25 -L --max-redirs 5
 <protocol>
 GET /want/25 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /want/data/reply/25 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /want/data/reply/data/reply/25 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /want/data/reply/data/reply/data/reply/25 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /want/data/reply/data/reply/data/reply/data/reply/25 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /want/data/reply/data/reply/data/reply/data/reply/data/reply/25 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index be4f6a96037542e085c3fe578d0a8836e702149d..818b2208a0ca2b329c775b847b3994b48e91c390 100644 (file)
@@ -18,7 +18,7 @@ http
 specify more -o than URLs
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
+http://%HOSTIP:%HTTPPORT/want/26 -o - -o -
 </command>
 </test>
 
@@ -30,7 +30,7 @@ http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
 <protocol>
 GET /want/26 HTTP/1.1\r
 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 2e74e5314881c6c50536fdf6ee1b5c3afcd6a99f..891b158761330e0a76e622350983def357d18816 100644 (file)
@@ -18,7 +18,7 @@ http
 Get same cookie page several times
  </name>
  <command>
-'http://%HOSTIP:%HOSTPORT/want/{27,27,27}' -b none
+'http://%HOSTIP:%HTTPPORT/want/{27,27,27}' -b none
 </command>
 </test>
 
@@ -29,18 +29,18 @@ Get same cookie page several times
 </strip>
 <protocol>
 GET /want/27 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /want/27 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Cookie: thewinneris=nowayyouwin\r
 \r
 GET /want/27 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Cookie: thewinneris=nowayyouwin\r
index 183bd6132beb1353b2c1a4a41b68c766523910fb..9f292351379b18c3b9612210cfab2dddefffc350 100644 (file)
@@ -43,7 +43,7 @@ http
 HTTP Location: following with extra spaces in header
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/28 -L
+http://%HOSTIP:%HTTPPORT/want/28 -L
 </command>
 </test>
 
@@ -54,12 +54,12 @@ http://%HOSTIP:%HOSTPORT/want/28 -L
 </strip>
 <protocol>
 GET /want/28 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 6f93cfb6ecd7d72737d6bbfd98d1d455c78f8cff..f5b71436c217d31a1cce33a53ab28652dfdaf9b6 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP with 2 secs timeout
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/29 -m 2
+http://%HOSTIP:%HTTPPORT/want/29 -m 2
 </command>
 </test>
 
@@ -32,7 +32,7 @@ http://%HOSTIP:%HOSTPORT/want/29 -m 2
 </strip>
 <protocol>
 GET /want/29 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 36ccad1565a797f8e121cf25daef183d244f9006..d0413bf06212d09bad5fd2a8ec8147219a639b94 100644 (file)
@@ -28,7 +28,7 @@ http
 HTTP POST with auth and contents but with content-length set to 0
  </name>
  <command>
- -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3
+ -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HTTPPORT/3
 </command>
 </test>
 
@@ -41,7 +41,7 @@ HTTP POST with auth and contents but with content-length set to 0
 <protocol nonewline=yes>
 POST /3 HTTP/1.1\r
 Authorization: Basic ZmFrZTotdXNlcg==\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 37\r
index 1fc0ae68e5410d5ce437ed9eb7ea3096749a2c14..6fa623e92980dcc6ebbe723ba4258c0bdcbaca39 100644 (file)
@@ -13,7 +13,7 @@ http
 HTTP with no data in server reply
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/30
+http://%HOSTIP:%HTTPPORT/want/30
 </command>
 </test>
 
@@ -24,7 +24,7 @@ http://%HOSTIP:%HOSTPORT/want/30
 </strip>
 <protocol>
 GET /want/30 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index deb957b064e9bcb66848087270b4d4666aeb565f..6ec21c2bd01935f01872978113af042879410d3a 100644 (file)
@@ -33,7 +33,7 @@ simple HTTPS GET
 </strip>
 <protocol>
 GET /300 HTTP/1.1\r
-Host: 127.0.0.1:8433\r
+Host: 127.0.0.1:%HTTPSPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 7160b31b9f5feb5cbcb876ca4a2e0793252f55c6..58c46ecb6f2367849b18ef80fbdf7e40c70312f6 100644 (file)
@@ -34,7 +34,7 @@ HTTPS GET with user and password
 <protocol>
 GET /301 HTTP/1.1\r
 Authorization: Basic ZmFrZTp1c2Vy\r
-Host: 127.0.0.1:8433\r
+Host: 127.0.0.1:%HTTPSPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 70f5791d44ec8c2d51d9a4b9b5710fec3164916b..e8d0413e6dd613ea479ff206155d2e61098a0217 100644 (file)
@@ -14,7 +14,7 @@ https
 HTTPS GET over HTTP proxy fails
  </name>
  <command>
--k -U fake:user -x %HOSTIP:%HOSTPORT https://bad.fakeurl-to.test/slash/302
+-k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test/slash/302
 </command>
 </test>
 
index af3e125ef166e95708e3388aaf22a539ff290215..b2654a612be0e4a37e9304dab78776f3c5a950d1 100644 (file)
@@ -21,7 +21,7 @@ https
 HTTPS with 2 secs timeout
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/303 -m 2
+http://%HOSTIP:%HTTPPORT/want/303 -m 2
 </command>
 </test>
 
@@ -32,7 +32,7 @@ http://%HOSTIP:%HOSTPORT/want/303 -m 2
 </strip>
 <protocol>
 GET /want/303 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index b798f6b5e17b9243823777f85b0f1df4379dcd1f..75751c2c051467eca224d72f79b0bfa32ed40202 100644 (file)
@@ -35,7 +35,7 @@ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 <protocol>
 POST /we/want/304 HTTP/1.1\r
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8433\r
+Host: 127.0.0.1:%HTTPSPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 1390\r
index 92d9d67d7b9b903ab50dc4a22c1c3d02706ac804..99e5400c8cf18bbca9d8617fe7866e180c4d097d 100644 (file)
@@ -13,7 +13,7 @@ https
 insecure HTTPS without permission
  </name>
  <command>
-https://%HOSTIP:%HOSTPORT/want/305 --cacert moooo
+https://%HOSTIP:%HTTPPORT/want/305 --cacert moooo
 </command>
 </test>
 
index f68d28eba41eb3175021150d348d8ba0b4d94541..646eee4d2d91b397ef54c126c92b8eea3044c5bf 100644 (file)
@@ -46,7 +46,7 @@ HTTPS GET, receive no headers only data!
 </strip>
 <protocol>
 GET /306 HTTP/1.1\r
-Host: 127.0.0.1:8433\r
+Host: 127.0.0.1:%HTTPSPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 26df799c763e59190d605b35455a1e45158efc47..692b12d842e3e765a6bf05783e9abbe0b4f43b9d 100644 (file)
@@ -31,7 +31,7 @@ http
 HTTP with weirdly formatted cookies and cookiejar storage
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/31 -b none -c log/jar31.txt
+http://%HOSTIP:%HTTPPORT/we/want/31 -b none -c log/jar31.txt
 </command>
 </test>
 
@@ -42,7 +42,7 @@ http://%HOSTIP:%HOSTPORT/we/want/31 -b none -c log/jar31.txt
 </strip>
 <protocol>
 GET /we/want/31 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index fc84a5ca8c4cd3894340b5386033ffb9cf78b1aa..956a1e4ff5023e1c1c76ef2938b3715f7b73610a 100644 (file)
@@ -27,7 +27,7 @@ http
 HTTP with -d and -G
  </name>
  <command>
--d "foo=moo&moo=poo" http://%HOSTIP:%HOSTPORT/32 -G
+-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/32 -G
 </command>
 </client>
 
@@ -40,7 +40,7 @@ HTTP with -d and -G
 <protocol>
 GET /32?foo=moo&moo=poo HTTP/1.1
 User-Agent: curl/7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5-cvs (OpenSSL 0.9.5) (ipv6 enabled)
-Host: 127.0.0.1:8999
+Host: 127.0.0.1:%HTTPPORT
 Pragma: no-cache
 Accept: */*
 
index ed758e9a89182b6170ccbf0eb307d1515679ecd8..bc8c9d93b3e5128402f29b75900a485cb40d75ab 100644 (file)
@@ -27,7 +27,7 @@ HTTP PUT with resume
 012345678
 </file>
  <command>
-http://%HOSTIP:%HOSTPORT/33 -Tlog/test33.txt -C 50
+http://%HOSTIP:%HTTPPORT/33 -Tlog/test33.txt -C 50
 </command>
 </test>
 
@@ -40,7 +40,7 @@ http://%HOSTIP:%HOSTPORT/33 -Tlog/test33.txt -C 50
 PUT /33 HTTP/1.1\r
 Content-Range: bytes 50-99/100\r
 User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 50\r
index f22ec475ff08ed6288a2d79de5bcf4f2159dd87c..4d646cdd290c6c10a7f0375bf280f32410d5d2bc 100644 (file)
@@ -37,7 +37,7 @@ http
 HTTP GET with chunked Transfer-Encoding
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/34
+http://%HOSTIP:%HTTPPORT/34
 </command>
 </test>
 
@@ -49,7 +49,7 @@ http://%HOSTIP:%HOSTPORT/34
 </strip>
 <protocol>
 GET /34 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 60bbf3feb86fd6ddff01fe6e82f7f14e44baf67f..406b9218fcd37bdd96b6ab568015879925c543b6 100644 (file)
@@ -33,7 +33,7 @@ http
 HTTP GET with bad chunked Transfer-Encoding
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/36
+http://%HOSTIP:%HTTPPORT/36
 </command>
 </test>
 
@@ -48,7 +48,7 @@ http://%HOSTIP:%HOSTPORT/36
 </strip>
 <protocol>
 GET /36 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 1705cb03cd02be90c376c9e3368dab8c1403718a..889d6aacb22940fc142e118c1ea1541a91c00cd7 100644 (file)
@@ -15,7 +15,7 @@ http
 HTTP GET with nothing returned from server
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/37
+http://%HOSTIP:%HTTPPORT/37
 </command>
 </test>
 
@@ -30,7 +30,7 @@ http://%HOSTIP:%HOSTPORT/37
 </strip>
 <protocol>
 GET /37 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 49df17ea576517fcf049f4eaa3ba151686da5f5f..2b97f962121aa74666f10fb03ee6320a7a1df68e 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP resume request without server supporting it
  </name>
  <command option="no-output">
-http://%HOSTIP:%HOSTPORT/want/38 -C - -i -o log/fewl.txt
+http://%HOSTIP:%HTTPPORT/want/38 -C - -i -o log/fewl.txt
 </command>
 <file name="log/fewl.txt">
 This text is here to simulate a partly downloaded file to resume
@@ -38,7 +38,7 @@ download on.
 <protocol>
 GET /want/38 HTTP/1.1\r
 Range: bytes=78-\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 53aa9550a7c9ccd56d8c7aa11d285428b080b6e4..96b4661a24dc81b02c54d8b5ccd6fd7f46ecf5ff 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP RFC1867-type formposting with filename= and type=
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/39 -F name=daniel -F tool=curl -F "file=@log/test39.txt;filename=fakerfile;type=moo/foobar" -F file2=@log/test39.txt
+http://%HOSTIP:%HTTPPORT/we/want/39 -F name=daniel -F tool=curl -F "file=@log/test39.txt;filename=fakerfile;type=moo/foobar" -F file2=@log/test39.txt
 </command>
 # We create this file before the command is invoked!
 <file name="log/test39.txt">
@@ -38,7 +38,7 @@ foo
 <protocol>
 POST /we/want/39 HTTP/1.1\r
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 598\r
index 2c84c7940d0f9b5f657f12ce9d94db402eed2779..37b081f1cc6299a33e63fb6f4d67621b8d3eb9ee 100644 (file)
@@ -21,7 +21,7 @@ http
 Replaced internal and added custom HTTP headers
  </name>
  <command>
- -H "extra-header: here" -H "Accept: replaced" http://%HOSTIP:%HOSTPORT/4
+ -H "extra-header: here" -H "Accept: replaced" http://%HOSTIP:%HTTPPORT/4
 </command>
 </test>
 
@@ -33,7 +33,7 @@ Replaced internal and added custom HTTP headers
 </strip>
 <protocol>
 GET /4 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 extra-header: here\r
 Accept: replaced\r
index ca0e2fb8649e869b4c6d561974088e995d2be17a..70ea57aad7f911cd14c71aaa71199e8ddcc06688 100644 (file)
@@ -41,7 +41,7 @@ http
 HTTP redirect with whitespace after ? (and conversion)
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/are/all/twits/40 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/40 -L
 </command>
 </client>
 
@@ -53,13 +53,13 @@ http://%HOSTIP:%HOSTPORT/we/are/all/twits/40 -L
 </strip>
 <protocol>
 GET /we/are/all/twits/40 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /we/are/all/moo.html/?name=d+a+niel&testcase=/400002 HTTP/1.1\r
 User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index e29324eb28479e36208287160998c6220e5922b0..d8cb36da690dfc933cfb06ed0b27c0cefc22ef00 100644 (file)
@@ -11,7 +11,7 @@ http
 HTTP formpost with missing file
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/41 -F moo=@boo
+http://%HOSTIP:%HTTPPORT/want/41 -F moo=@boo
 </command>
 </test>
 
index b179e8a34e64a1367702f04d6a1220e9f38ad4a8..c71d088f860ca79ef2afdbc9485420b4325e63e7 100644 (file)
@@ -41,7 +41,7 @@ http
 HTTP redirect with whitespace in path (and conversion)
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/are/all/twits/42 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/42 -L
 </command>
 </client>
 
@@ -53,13 +53,13 @@ http://%HOSTIP:%HOSTPORT/we/are/all/twits/42 -L
 </strip>
 <protocol>
 GET /we/are/all/twits/42 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /we/are/all/m%20o%20o.html/420002 HTTP/1.1\r
 User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 22719d86bd0293a55ba46cb002bfdbe5154fa161..d03772fce96da1192889b12f4b79cee0e3948b59 100644 (file)
@@ -43,7 +43,7 @@ http
 HTTP Location: following over HTTP proxy
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/43 -L -x %HOSTIP:%HOSTPORT
+http://%HOSTIP:%HTTPPORT/want/43 -L -x %HOSTIP:%HTTPPORT
 </command>
 </test>
 
@@ -53,13 +53,13 @@ http://%HOSTIP:%HOSTPORT/want/43 -L -x %HOSTIP:%HOSTPORT
 ^User-Agent:.*
 </strip>
 <protocol>
-GET http://127.0.0.1:8999/want/43 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+GET http://127.0.0.1:%HTTPPORT/want/43 HTTP/1.1\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
-GET http://127.0.0.1:8999/want/data/430002.txt?coolsite=yes HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+GET http://127.0.0.1:%HTTPPORT/want/data/430002.txt?coolsite=yes HTTP/1.1\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 9b5ec8b8be4165e5e4430162483447546d377011..dfd50250d0a2d5c4e7005b81ba98655efcfb33ab 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP RFC1867-type formposting without Expect: header
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/44 -F name=daniel -F tool=curl -F file=@log/test44.txt -H 'Expect:'
+http://%HOSTIP:%HTTPPORT/we/want/44 -F name=daniel -F tool=curl -F file=@log/test44.txt -H 'Expect:'
 </command>
 # We create this file before the command is invoked!
 <file name="log/test44.txt">
@@ -37,7 +37,7 @@ bar
 <protocol>
 POST /we/want/44 HTTP/1.1\r
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 412\r
index 3019d5c9ca44fdb21e9805d7de827d230f4b5b18..30a1fea8a87040c748cb33defddb01f6a8c95551 100644 (file)
@@ -43,7 +43,7 @@ http
 simple HTTP Location: without protocol in initial URL
  </name>
  <command>
-%HOSTIP:%HOSTPORT/want/45 -L
+%HOSTIP:%HTTPPORT/want/45 -L
 </command>
 </test>
 
@@ -54,12 +54,12 @@ simple HTTP Location: without protocol in initial URL
 </strip>
 <protocol>
 GET /want/45 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /want/data.cgi?moo=http://&/450002 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index bbdc55f5333f14981ad51055f6e7b55031709585..a988d88fbbda51f42c153d3152fa4767607bf2af 100644 (file)
@@ -26,7 +26,7 @@ http
 HTTP, get cookies and store in cookie jar
  </name>
  <command>
-%HOSTIP:%HOSTPORT/want/46 -c log/jar46 -b log/injar46
+%HOSTIP:%HTTPPORT/want/46 -c log/jar46 -b log/injar46
 </command>
 <file name="log/injar46">
 # Netscape HTTP Cookie File
@@ -47,7 +47,7 @@ www.loser.com FALSE   /       FALSE   1139150993      UID     99
 </strip>
 <protocol>
 GET /want/46 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Cookie: empty=; mooo=indeed\r
index d13d5f8f7c004660773989ed5075ba1ee30552f3..a3e53cd14dfea3d2d4b5fcdf1c8e22d15e745eb8 100644 (file)
@@ -20,7 +20,7 @@ http
 simple HTTP 1.0 GET
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/47 -0
+http://%HOSTIP:%HTTPPORT/47 -0
 </command>
 </test>
 
@@ -32,7 +32,7 @@ http://%HOSTIP:%HOSTPORT/47 -0
 </strip>
 <protocol>
 GET /47 HTTP/1.0\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 8be76bb6eca28814aa1e1ae756bd047e37c364cc..1cd3c728ae45be25eb2b427242c3f1f2863786b4 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP with -d and -G and -I
  </name>
  <command>
--d "foo=moo&moo=poo" http://%HOSTIP:%HOSTPORT/48 -G -I
+-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/48 -G -I
 </command>
 </client>
 
@@ -31,7 +31,7 @@ HTTP with -d and -G and -I
 </strip>
 <protocol>
 HEAD /48?foo=moo&moo=poo HTTP/1.1
-Host: 127.0.0.1:8999
+Host: 127.0.0.1:%HTTPPORT
 Pragma: no-cache
 Accept: */*
 
index c49c890ee50485c4dcecdb3649715256c8a76156..daf5be2d05fc5904b54d55b5563a41f8de670d07 100644 (file)
@@ -41,7 +41,7 @@ http
 HTTP follow redirect with ../
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/are/all/twits/49 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/49 -L
 </command>
 </client>
 
@@ -53,13 +53,13 @@ http://%HOSTIP:%HOSTPORT/we/are/all/twits/49 -L
 </strip>
 <protocol>
 GET /we/are/all/twits/49 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /we/are/all/moo.html/490002 HTTP/1.1\r
 User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index d8b49f1831f14a4f6fa2a47dca956f81af7b789c..2d2d76f7c49f4b291100e805181b6734d2fb0b6e 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP over proxy
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/that/page/5 -x %HOSTIP:%HOSTPORT
+http://%HOSTIP:%HTTPPORT/we/want/that/page/5 -x %HOSTIP:%HTTPPORT
 </command>
 </test>
 
@@ -32,8 +32,8 @@ http://%HOSTIP:%HOSTPORT/we/want/that/page/5 -x %HOSTIP:%HOSTPORT
 ^User-Agent:.*
 </strip>
 <protocol>
-GET http://127.0.0.1:8999/we/want/that/page/5 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+GET http://127.0.0.1:%HTTPPORT/we/want/that/page/5 HTTP/1.1\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 000db4ac5271f73cdba2fde9ebd039e7bdeeb273..10e2dd8392f784c10c3b5128fd713392ec28c368 100644 (file)
@@ -41,7 +41,7 @@ http
 HTTP follow redirect with ../../
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/are/all/twits/50 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/50 -L
 </command>
 </client>
 
@@ -53,13 +53,13 @@ http://%HOSTIP:%HOSTPORT/we/are/all/twits/50 -L
 </strip>
 <protocol>
 GET /we/are/all/twits/50 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /we/are/moo.html/500002 HTTP/1.1\r
 User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 52288c824493f95f94e45de419125fe4306cea56..eb509c064b100cbdab3642cfef886ca9a73b37ea 100644 (file)
@@ -31,7 +31,7 @@ lib500
 simple libcurl HTTP GET tool
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/500
+http://%HOSTIP:%HTTPPORT/500
 </command>
 </client>
 
@@ -40,7 +40,7 @@ http://%HOSTIP:%HOSTPORT/500
 <verify>
 <protocol>
 GET /500 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index c427adf87e976758af761e439936ccc3e0e90e52..3a0334b3b2ecd2f0db37c2804dd38c455126acc1 100644 (file)
@@ -17,7 +17,7 @@ lib501
 simple libcurl attempt operation without URL set
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/501
+http://%HOSTIP:%HTTPPORT/501
 </command>
 </client>
 
index 9f26e292787c62ba4d17be21b56d5477e8de3050..b9f093f3549f39d07913db8966d53f1354d2b2f0 100644 (file)
@@ -34,7 +34,7 @@ lib503
 simple multi http:// through proxytunnel with authentication info
  </name>
  <command>
-http://%HOSTIP:%HTTPSPORT/503 localhost:%HOSTPORT
+http://%HOSTIP:%HTTPSPORT/503 localhost:%HTTPPORT
 </command>
 <file name="log/test503.txt">
 foo
@@ -48,12 +48,12 @@ moo
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-CONNECT 127.0.0.1:8433 HTTP/1.0\r
+CONNECT 127.0.0.1:%HTTPSPORT HTTP/1.0\r
 Proxy-Authorization: Basic dGVzdDppbmc=\r
 \r
 GET /503 HTTP/1.1\r
 Authorization: Basic dGVzdDppbmc=\r
-Host: 127.0.0.1:8433\r
+Host: 127.0.0.1:%HTTPSPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 85a5bc9a0011fba170ab30377dbd2c2a9326f7e1..4fbf5f81d8880f47330cf2e8b00dd78ef7ad9562 100644 (file)
@@ -50,7 +50,7 @@ HTTP with shared cookie list (and dns cache)
 lib506
 </tool>
 <command>
-http://%HOSTIP:%HOSTPORT/506
+http://%HOSTIP:%HTTPPORT/506
 </command>
 </client>
 
@@ -139,7 +139,7 @@ unlock: share  <Pigs in space>: 55
 GLOBAL_CLEANUP
 </stdout>
 <stderr>
-http://%HOSTIP:%HOSTPORT/506 
+http://%HOSTIP:%HTTPPORT/506 
 </stderr>
 <file name="log/jar506">
 # Netscape HTTP Cookie File
index 47822bec4689508e1e4c678f210a972150560daf..08217effb607b64e7d55667a67f54fc7a5d3046a 100644 (file)
@@ -26,7 +26,7 @@ lib508
 send HTTP POST using read callback
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/508
+http://%HOSTIP:%HTTPPORT/508
 </command>
 </client>
 
@@ -35,7 +35,7 @@ http://%HOSTIP:%HOSTPORT/508
 <verify>
 <protocol>
 POST /508 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 45\r
index d4098e1590fa54b9b53fa7732605c69cdbf19c75..70ce7c183813cb432219dd5b933f988fb32be463 100644 (file)
@@ -4,7 +4,6 @@
 <data>
 HTTP/1.1 200 OK
 Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: localhost:8433
 Content-length:6
 
 Hello
@@ -31,7 +30,7 @@ lib509
 simple HTTPS GET and URL redirect in certificate
  </name>
  <command>
-https://localhost:%HTTPSPORT/dvcs
+https://localhost:%HTTPSPORT/dvcs %HTTPSPORT
 </command>
 </client>
 
@@ -43,7 +42,7 @@ https://localhost:%HTTPSPORT/dvcs
 </strip>
 <protocol>
 GET /509 HTTP/1.1
-Host: localhost:8433
+Host: localhost:%HTTPSPORT
 Pragma: no-cache
 Accept: */*
 
index 3aa10a3f545ebab4d14c0005a8f91dd369a4651d..334f09ee0db94e0e64ae0b37d8531e1a7c6333ff 100644 (file)
@@ -41,7 +41,7 @@ http
 HTTP follow redirect with exessive ../
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/are/all/twits/51 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/51 -L
 </command>
 </client>
 
@@ -53,13 +53,13 @@ http://%HOSTIP:%HOSTPORT/we/are/all/twits/51 -L
 </strip>
 <protocol>
 GET /we/are/all/twits/51 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /510002 HTTP/1.1\r
 User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 33790dc7941adf67620e10649c42c6c2be248109..e1885c01962c798d208039745cb49b092b53885e 100644 (file)
@@ -26,7 +26,7 @@ lib510
 send HTTP POST using read callback, using chunked transfer-encoding
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/510
+http://%HOSTIP:%HTTPPORT/510
 </command>
 </client>
 
@@ -35,7 +35,7 @@ http://%HOSTIP:%HOSTPORT/510
 <verify>
 <protocol>
 POST /510 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Transfer-Encoding: chunked\r
index 095c828e612daf14af52d250719f9b5a56ab0fa7..bd7f6fa6f8fc8e30a2775a11231e29b77a669fae 100644 (file)
@@ -25,7 +25,7 @@ lib512
 simple curl_easy_duplicate() test
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/512
+http://%HOSTIP:%HTTPPORT/512
 </command>
 </client>
 
@@ -37,7 +37,7 @@ http://%HOSTIP:%HOSTPORT/512
 </strip>
 <protocol>
 GET /512 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index b19ecd762be8d1b2ba1a911628e37ce44f116746..d97607e58e7a3af50afe6f9aa7f07b8b97d36d05 100644 (file)
@@ -17,7 +17,7 @@ lib513
 send HTTP POST using read callback that returns CURL_READFUNC_ABORT
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/513
+http://%HOSTIP:%HTTPPORT/513
 </command>
 </client>
 
@@ -26,7 +26,7 @@ http://%HOSTIP:%HOSTPORT/513
 <verify>
 <protocol>
 POST /513 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 1\r
index 06fc6681842c8a1b3a706c5f4d2abf35fbf17267..1b6e5e686bfde877b3f824749412136184e48cd5 100644 (file)
@@ -29,7 +29,7 @@ lib514
 First set options to POST and then to make HEAD
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/514
+http://%HOSTIP:%HTTPPORT/514
 </command>
 </client>
 
@@ -41,7 +41,7 @@ http://%HOSTIP:%HOSTPORT/514
 </strip>
 <protocol>
 HEAD /514 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 4f49059d6729d95916daac57a9281744e5df80af..e84b26474e5a77f5f85d0f609532456edd8d7412 100644 (file)
@@ -41,7 +41,7 @@ http
 HTTP follow redirect with ./-prefix
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/are/all/twits/52 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/52 -L
 </command>
 </client>
 
@@ -53,13 +53,13 @@ http://%HOSTIP:%HOSTPORT/we/are/all/twits/52 -L
 </strip>
 <protocol>
 GET /we/are/all/twits/52 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /we/are/all/twits/520002 HTTP/1.1\r
 User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 9e1d6b635b07e96df84ae9e2d047337d867771ea..43c44e9d9e208024aba8fe266a1459fd2b398ed3 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP, junk session cookies
  </name>
  <command>
-%HOSTIP:%HOSTPORT/want/53 -b log/injar53 -j
+%HOSTIP:%HTTPPORT/want/53 -b log/injar53 -j
 </command>
 <file name="log/injar53">
 127.0.0.1      FALSE   /       FALSE   2139150993      mooo    indeed
@@ -37,7 +37,7 @@ HTTP, junk session cookies
 </strip>
 <protocol>
 GET /want/53 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Cookie: mooo=indeed\r
index c71aa2b393edecfd75e33b944bc10871360df31e..076311d74cac27e28b96638f77091a73d511f393 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP with blank Location:
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/54 -L
+http://%HOSTIP:%HTTPPORT/want/54 -L
 </command>
 </test>
 
@@ -29,7 +29,7 @@ http://%HOSTIP:%HOSTPORT/want/54 -L
 </strip>
 <protocol>
 GET /want/54 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index fd7ca55ad63b47888896bcc8b51bd14fd61ca107..b8be8b9d8efce5d0fe9fd1247297baf4eee5cbab 100644 (file)
@@ -35,7 +35,7 @@ http
 HTTP follow redirect with single slash in path
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/55 -L
+http://%HOSTIP:%HTTPPORT/55 -L
 </command>
 </client>
 
@@ -45,13 +45,13 @@ http://%HOSTIP:%HOSTPORT/55 -L
 </strip>
 <protocol>
 GET /55 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /550002 HTTP/1.1\r
 User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index c1d2489bceb046b49ac7835656a7eebaab3437f6..098e1e10acbbe653a9a9856441035a595fe1c0ae 100644 (file)
@@ -28,7 +28,7 @@ header "Transfer-Encoding: chunked"
 #
  </stdin>
  <command>
--K - %HOSTIP:%HOSTPORT/that.site.com/56
+-K - %HOSTIP:%HTTPPORT/that.site.com/56
 </command>
 </test>
 
@@ -39,7 +39,7 @@ header "Transfer-Encoding: chunked"
 </strip>
 <protocol>
 POST /that.site.com/56 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Transfer-Encoding: chunked\r
index b3fb332dbaa16d1242d5486fa5b4bbdaf636fd0b..edca9c8c9ca408ff007b479a316c129f77d384d3 100644 (file)
@@ -17,7 +17,7 @@ http
 HTTP content-type with spaces in
  </name>
  <command>
--w '%{content_type}\n' %HOSTIP:%HOSTPORT/57 -o log/out57
+-w '%{content_type}\n' %HOSTIP:%HTTPPORT/57 -o log/out57
 </command>
 </test>
 
@@ -31,7 +31,7 @@ text/html; charset=ISO-8859-4
 </strip>
 <protocol>
 GET /57 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 0ff07c34e93c568e4339a3368f1bb649635e6fd9..686811575d033e195249b397af744441376a9926 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP PUT from file with weird letters
 </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/ -T log/58te[]st.txt -g
+http://%HOSTIP:%HTTPPORT/we/want/ -T log/58te[]st.txt -g
 </command>
 <file name="log/58te[]st.txt">
 a few bytes
@@ -33,7 +33,7 @@ a few bytes
 </strip>
 <protocol>
 PUT /we/want/58te%5B%5Dst%2Etxt HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 12\r
index 7e7691d71ef85030e6c9772a6e050dc48a73ffae..3da70c2f51d88c4b5fcb857d56fc77aa2b3e8c17 100644 (file)
@@ -20,7 +20,7 @@ http
 HTTP URL with slash but with "parameter"
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT?mooo/59
+http://%HOSTIP:%HTTPPORT?mooo/59
 </command>
 </client>
 
@@ -32,7 +32,7 @@ http://%HOSTIP:%HOSTPORT?mooo/59
 </strip>
 <protocol>
 GET /?mooo/59 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 9a0d02cc3247863fa3f29d2d1e92a76b3cc89e6e..910d41fcfcd7f0e0c66a5739b280cdc2ce247e17 100644 (file)
@@ -20,7 +20,7 @@ http
 HTTP with simple cookie send
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/that/page/6 -b "name=contents;name2=content2"
+http://%HOSTIP:%HTTPPORT/we/want/that/page/6 -b "name=contents;name2=content2"
 </command>
 </test>
 
@@ -31,7 +31,7 @@ http://%HOSTIP:%HOSTPORT/we/want/that/page/6 -b "name=contents;name2=content2"
 </strip>
 <protocol>
 GET /we/want/that/page/6 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Cookie: name=contents;name2=content2\r
index fc358c15ae0682bb754f4dac8f44a36f25f963f6..c95c0e494b7a0f8fa97e2696c1a9a0404a558bf6 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP PUT from stdin with wrong content-length
 </name>
  <command>
-http://%HOSTIP:%HOSTPORT/bzz/60 -T - -H "Content-Length: 1" < log/60.txt
+http://%HOSTIP:%HTTPPORT/bzz/60 -T - -H "Content-Length: 1" < log/60.txt
 </command>
 <file name="log/60.txt">
 more than one byte
@@ -33,7 +33,7 @@ more than one byte
 </strip>
 <protocol>
 PUT /bzz/60 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Transfer-Encoding: chunked\r
index e5f70754ab68f457a1798bccc10f51a7e6606fda..3fbed6a8a27c1be57b74726659c01d1600958849 100644 (file)
@@ -26,7 +26,7 @@ http
 HTTP with various cookies and custom Host:
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/61 -c log/jar61.txt -H "Host: www.host.foo.com"
+http://%HOSTIP:%HTTPPORT/we/want/61 -c log/jar61.txt -H "Host: www.host.foo.com"
 </command>
 </client>
 
index 00309ea1b1a65b6a5965249dde5b41751789e381..416f8e5801b2c771eaa64de54c11aa345ccb4730 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP, send cookies when using custom Host:
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/62 -b log/jar62.txt -H "Host: www.host.foo.com"
+http://%HOSTIP:%HTTPPORT/we/want/62 -b log/jar62.txt -H "Host: www.host.foo.com"
 </command>
 <file name="log/jar62.txt">
 # Netscape HTTP Cookie File
index ecca6b25612164fa7a74358a383dca09c1018e92..1ac0591ad8b3859af3c381daa06ad533fb5b157c 100644 (file)
@@ -18,7 +18,7 @@ http
 HTTP with proxy authorization set in environment
  </name>
 <setenv>
-http_proxy=http://fake:user@%HOSTIP:%HOSTPORT/
+http_proxy=http://fake:user@%HOSTIP:%HTTPPORT/
 </setenv>
  <command>
 http://we.want.that.site.com/63
index 26c31d7c2679aab53c29b56b3e8f07fe3f5efd9f..945514cb6df4c6a8faa871dc41a25cee2549b10b 100644 (file)
@@ -43,7 +43,7 @@ http
 HTTP with Digest authorization
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/64 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/64 -u testuser:testpass --digest
 </command>
 </test>
 
@@ -54,14 +54,14 @@ http://%HOSTIP:%HOSTPORT/64 -u testuser:testpass --digest
 </strip>
 <protocol>
 GET /64 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /64 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/64", response="c55f7f30d83d774a3d2dcacf725abaca"\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index e734c275bfdbbc851c8cef93c24e1f3af4b912ec..b32e777867fc81536b42d73ad22e80e92174328c 100644 (file)
@@ -47,7 +47,7 @@ http
 HTTP with Digest authorization with bad password
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/65 -u testuser:test2pass --digest
+http://%HOSTIP:%HTTPPORT/65 -u testuser:test2pass --digest
 </command>
 </test>
 
@@ -58,14 +58,14 @@ http://%HOSTIP:%HOSTPORT/65 -u testuser:test2pass --digest
 </strip>
 <protocol>
 GET /65 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /65 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="2053604145", uri="/65", response="66d68d3251f1839576ba7c766cf9205b"\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 285c0c42e79c533ac835ef995931d5af622bf009..95d1581838094ee2c8eece6827c5660349795d8a 100644 (file)
@@ -14,7 +14,7 @@ http
 HTTP GET without headers in the response
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/66
+http://%HOSTIP:%HTTPPORT/66
 </command>
 </client>
 
@@ -26,7 +26,7 @@ http://%HOSTIP:%HOSTPORT/66
 </strip>
 <protocol>
 GET /66 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 16ea8d841862920663a379cd72e1e6887cfd6290..e2fd51cf2eb2b725195eb8a331f61f3c33dfbac2 100644 (file)
@@ -54,7 +54,7 @@ http
 HTTP with NTLM authorization
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/67 -u testuser:testpass --ntlm
+http://%HOSTIP:%HTTPPORT/67 -u testuser:testpass --ntlm
 </command>
 </test>
 
@@ -67,14 +67,14 @@ http://%HOSTIP:%HOSTPORT/67 -u testuser:testpass --ntlm
 GET /67 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /67 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 98787788a578e67308d404460541a786214ef253..c4f4eec398ae10bfd4bf0ae086d1c2c2e2b613bd 100644 (file)
@@ -56,7 +56,7 @@ http
 HTTP with NTLM authorization and wrong password
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/68 -u testuser:testpass --ntlm
+http://%HOSTIP:%HTTPPORT/68 -u testuser:testpass --ntlm
 </command>
 </test>
 
@@ -69,14 +69,14 @@ http://%HOSTIP:%HOSTPORT/68 -u testuser:testpass --ntlm
 GET /68 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /68 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index e628f72cab4babf8c1482a69e22c47331548f8d2..5fe3625e1b1507cb77be2db1f020da442d614b52 100644 (file)
@@ -69,7 +69,7 @@ http
 HTTP with NTLM, Basic or Wild-and-crazy authorization
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/69 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/69 -u testuser:testpass --anyauth
 </command>
 </test>
 
@@ -81,21 +81,21 @@ http://%HOSTIP:%HOSTPORT/69 -u testuser:testpass --anyauth
 <protocol>
 GET /69 HTTP/1.1\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /69 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /69 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 7441d31280f6c438c390f0f558d03b6c683861f8..ad526e132e9ab0847ff93be4c78a6ca8a926e532 100644 (file)
@@ -22,7 +22,7 @@ http
 HTTP with cookie parser and header recording
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/7 -b none -D log/heads7.txt
+http://%HOSTIP:%HTTPPORT/we/want/7 -b none -D log/heads7.txt
 </command>
 </test>
 
@@ -33,7 +33,7 @@ http://%HOSTIP:%HOSTPORT/we/want/7 -b none -D log/heads7.txt
 </strip>
 <protocol>
 GET /we/want/7 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index a9efd437bb2300a9fd057d71dd2ee9058bdad70d..1b73d948f8643359055baaf44f1748cb4175e2f4 100644 (file)
@@ -53,7 +53,7 @@ http
 HTTP with Digest *OR* NTLM authorization
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/70 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/70 -u testuser:testpass --anyauth
 </command>
 </test>
 
@@ -65,14 +65,14 @@ http://%HOSTIP:%HOSTPORT/70 -u testuser:testpass --anyauth
 <protocol>
 GET /70 HTTP/1.1\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /70 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/70", response="2c9a6f00af0d86497b177b90e90c688a"\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 826585dd8e81d8bd8fabceeb98b61c390ccd7be7..5619d5e884abc49ea6da36f64e6b4d0585c8b1f2 100644 (file)
@@ -24,7 +24,7 @@ HTTP and -F upload in config file
 -F file=@log/test71.txt
 </stdin>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/71 -K -
+http://%HOSTIP:%HTTPPORT/we/want/71 -K -
 </command>
 # We create this file before the command is invoked!
 <file name="log/test71.txt">
@@ -42,7 +42,7 @@ bar
 <protocol>
 POST /we/want/71 HTTP/1.1\r
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 412\r
index e5600a7dc4e14f147566e172304cd63be34f3d7f..f480840d6a7993d35074540a3442337dd3007e94 100644 (file)
@@ -49,7 +49,7 @@ http
 HTTP with Digest *OR* Basic authorization
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/72 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/72 -u testuser:testpass --anyauth
 </command>
 </test>
 
@@ -61,14 +61,14 @@ http://%HOSTIP:%HOSTPORT/72 -u testuser:testpass --anyauth
 <protocol>
 GET /72 HTTP/1.1\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /72 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/72", response="9fcd1330377365a09bbcb33b2cbb25bd"\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 202375360762727a72ccc73729b4d4ee676a938b..a475ed446d7843fc46cb3f371a909f78f80c68a1 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP, receive cookies when using custom Host:, domain using only two dots
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/73 -c log/jar73.txt -H "Host: host.NOT_DISCLOSED.se"
+http://%HOSTIP:%HTTPPORT/we/want/73 -c log/jar73.txt -H "Host: host.NOT_DISCLOSED.se"
 </command>
 </client>
 
index dc837d69ee41938864f9d60d0dfd4ba384e428e1..3a444bb5b81148f74051e5bf2aafbe949c8d9c7d 100644 (file)
@@ -34,7 +34,7 @@ http
 HTTP, urlglob {}-retrieval and -o #[num] usage
  </name>
  <command option=no-output>
-"http://%HOSTIP:%HOSTPORT/{74,740001}" -o "log/dumpit#1.dump"
+"http://%HOSTIP:%HTTPPORT/{74,740001}" -o "log/dumpit#1.dump"
 </command>
 </client>
 
@@ -46,12 +46,12 @@ HTTP, urlglob {}-retrieval and -o #[num] usage
 </strip>
 <protocol>
 GET /74 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /740001 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index bbd8cbc4071f6134c5fb94806f4db8cb79045bce..ff6a9f12fbdbd9369fe33c601dfaa836291bb36a 100644 (file)
@@ -13,7 +13,7 @@ none
 HTTP, urlglob retrieval with bad range
  </name>
  <command option=no-output>
-"http://%HOSTIP:%HOSTPORT/[1-1]" -o "log/weee#1.dump" --stderr -
+"http://%HOSTIP:%HTTPPORT/[1-1]" -o "log/weee#1.dump" --stderr -
 </command>
 </client>
 
index da43e2b06cdaea8374d88477de4a414bfe5869ca..72a6216082d7964d3f25ef5ccd9be52b2f2017e8 100644 (file)
@@ -13,7 +13,7 @@ none
 HTTP, -O with no file name part in the URL
  </name>
  <command option=no-output>
-http://%HOSTIP:%HOSTPORT/76/ -O
+http://%HOSTIP:%HTTPPORT/76/ -O
 </command>
 </client>
 
index 61dba4059f80edb7bcac9aa04f4d045850c2718c..4ba1220f0201448a3dd8a4a13279dc5e2a8d9c59 100644 (file)
@@ -26,7 +26,7 @@ http
 HTTP with -z "older date"
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/77 -z "1999-12-12 12:00:00 MET"
+http://%HOSTIP:%HTTPPORT/77 -z "1999-12-12 12:00:00 MET"
 </command>
 </client>
 
@@ -38,7 +38,7 @@ http://%HOSTIP:%HOSTPORT/77 -z "1999-12-12 12:00:00 MET"
 </strip>
 <protocol>
 GET /77 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 If-Modified-Since: Sun, 12 Dec 1999 11:00:00 GMT\r
index a7a37d16c9410250b797227d49522ca581ff6cf0..156099a3a022127232493fedc8d0e223a356879c 100644 (file)
@@ -38,7 +38,7 @@ http
 HTTP with -z "newer date"
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/78 -z "1999-12-12 12:00:00 MET"
+http://%HOSTIP:%HTTPPORT/78 -z "1999-12-12 12:00:00 MET"
 </command>
 </client>
 
@@ -50,7 +50,7 @@ http://%HOSTIP:%HOSTPORT/78 -z "1999-12-12 12:00:00 MET"
 </strip>
 <protocol>
 GET /78 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 If-Modified-Since: Sun, 12 Dec 1999 11:00:00 GMT\r
index 5a9e12113854109647b471e021b89ee6fe428fde..b13c1ed3b378f8dfead84a59f37a52932adac7e5 100644 (file)
@@ -22,7 +22,7 @@ http
 FTP over HTTP proxy
  </name>
  <command>
-ftp://%HOSTIP:%HOSTPORT/we/want/that/page/79 -x %HOSTIP:%HOSTPORT
+ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT
 </command>
 </test>
 
@@ -33,8 +33,8 @@ ftp://%HOSTIP:%HOSTPORT/we/want/that/page/79 -x %HOSTIP:%HOSTPORT
 ^User-Agent:.*
 </strip>
 <protocol>
-GET ftp://127.0.0.1:8999/we/want/that/page/79 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+GET ftp://127.0.0.1:%HTTPPORT/we/want/that/page/79 HTTP/1.1\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index bc1a99ca50ca4668ca04ea23e07b284669461649..4ca750da7ce8e61ed8d8a02d772f29a40b365671 100644 (file)
@@ -17,7 +17,7 @@ http
 HTTP with cookie parsing from header file
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/8 -b log/heads8.txt
+http://%HOSTIP:%HTTPPORT/we/want/8 -b log/heads8.txt
 </command>
 
 # We create this file before the command is invoked!
@@ -41,7 +41,7 @@ Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
 </strip>
 <protocol>
 GET /we/want/8 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Cookie: partmatch=present; foobar=name\r
index dd4f0605cf94b2b22b6961e053341f4d678d8f8a..12f68e39e8323bc8c0938212adbec6b08f67215d 100644 (file)
@@ -33,7 +33,7 @@ http
 HTTP CONNECT with proxy and host Basic authentication
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/that/page/80 -p -x %HOSTIP:%HOSTPORT --user iam:myself --proxy-user youare:yourself
+http://%HOSTIP:%HTTPPORT/we/want/that/page/80 -p -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user youare:yourself
 </command>
 </test>
 
@@ -44,14 +44,14 @@ http://%HOSTIP:%HOSTPORT/we/want/that/page/80 -p -x %HOSTIP:%HOSTPORT --user iam
 ^User-Agent:.*
 </strip>
 <protocol>
-CONNECT 127.0.0.1:8999 HTTP/1.0\r
+CONNECT 127.0.0.1:%HTTPPORT HTTP/1.0\r
 Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
 \r
 GET /we/want/that/page/80 HTTP/1.1\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 8e12bfa29d6425d0242174d85297916e49138ccb..69379b72fe24d14b6f086f4448dc019ba9401be9 100644 (file)
@@ -52,7 +52,7 @@ http
 HTTP with proxy using NTLM authorization
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/81 --proxy-user testuser:testpass -x http://%HOSTIP:%HOSTPORT --proxy-ntlm
+http://%HOSTIP:%HTTPPORT/81 --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT --proxy-ntlm
 </command>
 </test>
 
@@ -62,17 +62,17 @@ http://%HOSTIP:%HOSTPORT/81 --proxy-user testuser:testpass -x http://%HOSTIP:%HO
 ^User-Agent:.*
 </strip>
 <protocol>
-GET http://127.0.0.1:8999/81 HTTP/1.1\r
+GET http://127.0.0.1:%HTTPPORT/81 HTTP/1.1\r
 Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
-GET http://127.0.0.1:8999/81 HTTP/1.1\r
+GET http://127.0.0.1:%HTTPPORT/81 HTTP/1.1\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 7b49f89f2063a9e13960943df85864dfecaf3651..12d10078c67946890bd21b5422f58e044e3e4880 100644 (file)
@@ -24,7 +24,7 @@ http
 HTTP with proxy requiring NTLM, but we send Basic
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/82 --proxy-user testuser:testpass -x http://%HOSTIP:%HOSTPORT
+http://%HOSTIP:%HTTPPORT/82 --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT
 </command>
 </test>
 
@@ -34,10 +34,10 @@ http://%HOSTIP:%HOSTPORT/82 --proxy-user testuser:testpass -x http://%HOSTIP:%HO
 ^User-Agent:.*
 </strip>
 <protocol>
-GET http://127.0.0.1:8999/82 HTTP/1.1\r
+GET http://127.0.0.1:%HTTPPORT/82 HTTP/1.1\r
 Proxy-Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 55d6a5a136d07146e33d141a3db72c75b17dca09..9a5f9f0ea6eb5ac6835076f5628b83e16ea1164c 100644 (file)
@@ -33,7 +33,7 @@ http
 HTTP over proxy-tunnel with site authentication
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/that/page/83 -p -x %HOSTIP:%HOSTPORT --user iam:myself
+http://%HOSTIP:%HTTPPORT/we/want/that/page/83 -p -x %HOSTIP:%HTTPPORT --user iam:myself
 </command>
 </test>
 
@@ -44,13 +44,13 @@ http://%HOSTIP:%HOSTPORT/we/want/that/page/83 -p -x %HOSTIP:%HOSTPORT --user iam
 ^User-Agent:.*
 </strip>
 <protocol>
-CONNECT 127.0.0.1:8999 HTTP/1.0\r
+CONNECT 127.0.0.1:%HTTPPORT HTTP/1.0\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
 \r
 GET /we/want/that/page/83 HTTP/1.1\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 939de6f1bf1da482e6c3d10f412a53c6d6a23b76..89a6697a6cc5488f6889d55757c499bcbbbdf7f8 100644 (file)
@@ -22,7 +22,7 @@ http
 HTTP over proxy with site authentication
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/that/page/84 -x %HOSTIP:%HOSTPORT --user iam:myself
+http://%HOSTIP:%HTTPPORT/we/want/that/page/84 -x %HOSTIP:%HTTPPORT --user iam:myself
 </command>
 </test>
 
@@ -33,10 +33,10 @@ http://%HOSTIP:%HOSTPORT/we/want/that/page/84 -x %HOSTIP:%HOSTPORT --user iam:my
 ^User-Agent:.*
 </strip>
 <protocol>
-GET http://127.0.0.1:8999/we/want/that/page/84 HTTP/1.1\r
+GET http://127.0.0.1:%HTTPPORT/we/want/that/page/84 HTTP/1.1\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index b5c6e96dea69e11d6e7843de0b1d0e00eeef307d..399b3a2efdb9dffef9354801c1e17c3fcf6ac963 100644 (file)
@@ -22,7 +22,7 @@ http
 HTTP over proxy with site and proxy authentication
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/that/page/85 -x %HOSTIP:%HOSTPORT --user iam:myself --proxy-user testing:this
+http://%HOSTIP:%HTTPPORT/we/want/that/page/85 -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this
 </command>
 </test>
 
@@ -33,11 +33,11 @@ http://%HOSTIP:%HOSTPORT/we/want/that/page/85 -x %HOSTIP:%HOSTPORT --user iam:my
 ^User-Agent:.*
 </strip>
 <protocol>
-GET http://127.0.0.1:8999/we/want/that/page/85 HTTP/1.1\r
+GET http://127.0.0.1:%HTTPPORT/we/want/that/page/85 HTTP/1.1\r
 Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
 Authorization: Basic aWFtOm15c2VsZg==\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 7636ee890a5f0de46596720bea90139d7ef68881..c3356119a1c55ece2ccdcb64ad3fd1c9a130e5e8 100644 (file)
@@ -48,7 +48,7 @@ http
 HTTP, urlglob []-retrieval and -o #[num] usage
  </name>
  <command option=no-output>
-"http://%HOSTIP:%HOSTPORT/[860001-860003]" -o "log/dumpit#1.dump"
+"http://%HOSTIP:%HTTPPORT/[860001-860003]" -o "log/dumpit#1.dump"
 </command>
 </client>
 
@@ -61,19 +61,19 @@ HTTP, urlglob []-retrieval and -o #[num] usage
 <protocol>
 GET /860001 HTTP/1.1\r
 User-Agent: curl/7.10.7-pre4 (i686-pc-linux-gnu) libcurl/7.10.7-pre4 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /860002 HTTP/1.1\r
 User-Agent: curl/7.10.7-pre4 (i686-pc-linux-gnu) libcurl/7.10.7-pre4 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /860003 HTTP/1.1\r
 User-Agent: curl/7.10.7-pre4 (i686-pc-linux-gnu) libcurl/7.10.7-pre4 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 4673f4a2bb5e95c8f1ad3f06d1224300ade9464e..7e134b2d953c5a1a549501139084267c97ddfce3 100644 (file)
@@ -12,7 +12,7 @@ none
 urlglob with bad -o #[num] usage
  </name>
  <command option=no-output>
-"http://%HOSTIP:%HOSTPORT/[870001-870003]" -o "log/dumpit#2.dump"
+"http://%HOSTIP:%HTTPPORT/[870001-870003]" -o "log/dumpit#2.dump"
 </command>
 </client>
 
index 00f812c03203fe533620230417b349494b618676..a07b3a3e1df7b797f3e19b80ae5b591c7cdce14d 100644 (file)
@@ -50,7 +50,7 @@ http
 HTTP PUT with Digest authorization
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/88 -T log/put88 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/88 -T log/put88 -u testuser:testpass --digest
 </command>
 <file name="log/put88">
 This is data we upload with PUT
@@ -67,14 +67,14 @@ four is the number of lines
 </strip>
 <protocol>
 HEAD /88 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 PUT /88 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/88", response="78a49fa53d0c228778297687d4168e71"\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 85\r
index 543e01d7570588fd3a18241421de20c9132f3842..5b5b3d27e140e67f7ae298de52672b28e4fcf784 100644 (file)
@@ -86,7 +86,7 @@ http
 HTTP with NTLM and follow-location
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/89 -u testuser:testpass --ntlm -L
+http://%HOSTIP:%HTTPPORT/89 -u testuser:testpass --ntlm -L
 </command>
 </test>
 
@@ -99,28 +99,28 @@ http://%HOSTIP:%HOSTPORT/89 -u testuser:testpass --ntlm -L
 GET /89 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /89 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /you/890010 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /you/890010 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 9b26c525c6a9ea9cae4217db5dfaa5070e229a01..f94b24174dce26cae243428cce556b7d318dc189 100644 (file)
@@ -19,7 +19,7 @@ http
 HTTP RFC1867-type formposting
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/9 -F name=daniel -F tool=curl -F file=@log/test9.txt
+http://%HOSTIP:%HTTPPORT/we/want/9 -F name=daniel -F tool=curl -F file=@log/test9.txt
 </command>
 # We create this file before the command is invoked!
 <file name="log/test9.txt">
@@ -37,7 +37,7 @@ bar
 <protocol>
 POST /we/want/9 HTTP/1.1\r
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 411\r
index 4afb8af5a8b2af8f14195df224884bda7294325d..6c3475a0613441c7ee2f2b1bacae950aebeb2bc4 100644 (file)
@@ -120,7 +120,7 @@ http
 HTTP with NTLM via --anyauth, and then follow-location with NTLM again
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/90 -u testuser:testpass --anyauth -L
+http://%HOSTIP:%HTTPPORT/90 -u testuser:testpass --anyauth -L
 </command>
 </test>
 
@@ -131,40 +131,40 @@ http://%HOSTIP:%HOSTPORT/90 -u testuser:testpass --anyauth -L
 </strip>
 <protocol>
 GET /90 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /90 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /90 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /you/900010 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /you/900010 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /you/900010 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145\r
 User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index f3d5fcefd889da6f677fef3ba5f37bb4949dcef4..f571e7c0dc4a0e2c453e79245bd086293e1eb778 100644 (file)
@@ -72,7 +72,7 @@ http
 HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/91 --anyauth -u mydomain\\myself:secret
+http://%HOSTIP:%HTTPPORT/91 --anyauth -u mydomain\\myself:secret
 </command>
 </test>
 
@@ -84,21 +84,21 @@ http://%HOSTIP:%HOSTPORT/91 --anyauth -u mydomain\\myself:secret
 <protocol>
 GET /91 HTTP/1.1\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /91 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
 GET /91 HTTP/1.1\r
 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAE4AAAAYABgAZgAAAAgACABAAAAABgAGAEgAAAAAAAAATgAAAAAAAAB+AAAAAYIAAG15ZG9tYWlubXlzZWxmwjImlHmYemDYVmFrmRFoVn3jfoYDE+7QLmWXF7FJDlDNWSItJ+RylXJGAJdepH4C\r
 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 1a1d30b381b66ba0edb8c139bb686daa6fbee3f4..070ead2162a40062f81b273063269b8660ca1026 100644 (file)
@@ -23,7 +23,7 @@ http
 HTTP resume transfer with the whole file already downloaded
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/want/92 -C 87
+http://%HOSTIP:%HTTPPORT/want/92 -C 87
 </command>
 </client>
 
@@ -35,7 +35,7 @@ http://%HOSTIP:%HOSTPORT/want/92 -C 87
 <protocol>
 GET /want/92 HTTP/1.1\r
 Range: bytes=87-\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index ea458cec257390292b96a6ba92a99d197c49e2c1..97d9a0f978ce0782983756b4696654b1fc499822 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP GET with failed proxy auth
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/93 -x %HOSTIP:%HOSTPORT
+http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT
 </command>
 </client>
 
@@ -32,8 +32,8 @@ http://%HOSTIP:%HOSTPORT/93 -x %HOSTIP:%HOSTPORT
 ^User-Agent:.*
 </strip>
 <protocol>
-GET http://127.0.0.1:8999/93 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+GET http://127.0.0.1:%HTTPPORT/93 HTTP/1.1\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index 90d7c06ffa5155aa5b4d102fbc31b843c203c7c3..8e942182fe82dd4bd0dbf194aa37c3c88d3bb213 100644 (file)
@@ -24,7 +24,7 @@ SSL
 HTTPS GET with failed proxy auth
  </name>
  <command>
-https://test.anything.really.com:94 -x %HOSTIP:%HOSTPORT
+https://test.anything.really.com:94 -x %HOSTIP:%HTTPPORT
 </command>
 </client>
 
index 0602c33c6c6e0f723249d7e529be8e69851a31e3..fe5fdb820786e2a2d1f2bd9fba2bfd6dcfe26890 100644 (file)
@@ -33,7 +33,7 @@ http
 HTTP over proxytunnel using POST
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/we/want/that/page/95 -p -x %HOSTIP:%HOSTPORT -d "datatopost=ohthatsfunyesyes"
+http://%HOSTIP:%HTTPPORT/we/want/that/page/95 -p -x %HOSTIP:%HTTPPORT -d "datatopost=ohthatsfunyesyes"
 </command>
 </test>
 
@@ -44,12 +44,12 @@ http://%HOSTIP:%HOSTPORT/we/want/that/page/95 -p -x %HOSTIP:%HOSTPORT -d "datato
 ^User-Agent:.*
 </strip>
 <protocol nonewline=yes>
-CONNECT 127.0.0.1:8999 HTTP/1.0\r
+CONNECT 127.0.0.1:%HTTPPORT HTTP/1.0\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
 \r
 POST /we/want/that/page/95 HTTP/1.1\r
 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 27\r
index 170d64114c51ebb0b95a37cac668ce7f7088f89b..715ebf74737de5f245071db3c51397c7026194a1 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP POST with custom content-type
  </name>
  <command>
- -d "hejsanallabarn" -H "Content-Type: silly/type" http://%HOSTIP:%HOSTPORT/97
+ -d "hejsanallabarn" -H "Content-Type: silly/type" http://%HOSTIP:%HTTPPORT/97
 </command>
 </test>
 
@@ -33,7 +33,7 @@ HTTP POST with custom content-type
 </strip>
 <protocol nonewline=yes>
 POST /97 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Type: silly/type
index 565b30d1db1d00901aad9da15507eeef47cd0f2d..aad64467d7bc482e90db97d70d47c7603b103532 100644 (file)
@@ -21,7 +21,7 @@ http
 HTTP PUT from stdin with set size, disabling chunked transfer-encoding
  </name>
  <command>
- -T - -H "Transfer-Encoding:" -H "Content-Length: 14" http://%HOSTIP:%HOSTPORT/98
+ -T - -H "Transfer-Encoding:" -H "Content-Length: 14" http://%HOSTIP:%HTTPPORT/98
 </command>
 <stdin>
 data on stdin
@@ -36,7 +36,7 @@ data on stdin
 </strip>
 <protocol>
 PUT /98 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Content-Length: 14\r
index 379e5a58abd9c6c1cd90083b642c3afa23d3822f..a9d404ba81607b09482ea1391e65962f68645b87 100644 (file)
@@ -24,7 +24,7 @@ http
 HTTP GET with large-file resume point and failed resume
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/99 -C 9999999999
+http://%HOSTIP:%HTTPPORT/99 -C 9999999999
 </command>
 </client>
 
@@ -40,7 +40,7 @@ http://%HOSTIP:%HOSTPORT/99 -C 9999999999
 <protocol>
 GET /99 HTTP/1.1\r
 Range: bytes=9999999999-\r
-Host: 127.0.0.1:8999\r
+Host: 127.0.0.1:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 \r
index eabddacee35347f410c7c08cdaf1d1a488569bd2..9e535e9b68c625db6133c5c6f38e3113321f8c20 100644 (file)
@@ -18,6 +18,7 @@
 #include <openssl/bio.h>
 #include <openssl/ssl.h>
 
+int portnum; /* the HTTPS port number we use */
 
 typedef struct sslctxparm_st {
   CURL* curl;
@@ -63,6 +64,8 @@ static unsigned char *my_get_ext(X509 * cert, const int type,
 
 void * globalparm = NULL;
 
+char newurl[512];
+
 static int ssl_app_verify_callback(X509_STORE_CTX *ctx, void *arg)
 {
   sslctxparm * p = (sslctxparm *) arg;
@@ -113,7 +116,15 @@ static int ssl_app_verify_callback(X509_STORE_CTX *ctx, void *arg)
                 (char *)accessinfoURL, (char *)p->accessinfoURL);
         OPENSSL_free(p->accessinfoURL);
         p->accessinfoURL = accessinfoURL;
-        curl_easy_setopt(p->curl, CURLOPT_URL,p->accessinfoURL);
+
+        /* We need to be able to deal with a custom port number, but the
+           URL in the cert uses a static one. We thus need to create a new
+           URL that uses the currently requested port number which may not
+           be the one this URL uses! */
+        sprintf(newurl, "https://localhost:%d/509", portnum);
+        fprintf(stderr, "But *really* Setting URL <%s>\n", newurl);
+
+        curl_easy_setopt(p->curl, CURLOPT_URL, newurl);
       }
       else
         OPENSSL_free(accessinfoURL);
@@ -164,6 +175,10 @@ int test(char *URL)
   int i = 0;
   CURLMsg *msg;
 
+  if(arg2) {
+    portnum = atoi(arg2);
+  }
+
   curl_global_init(CURL_GLOBAL_ALL);
 
   p.curl = curl_easy_init();
index 0f95b3f19cc891987b98c9d6387935fb77365905..fbcd87c26a94e95b5d93a4f6ef6e09c10d97834d 100755 (executable)
@@ -32,10 +32,14 @@ require "getpart.pm"; # array functions
 
 my $srcdir = $ENV{'srcdir'} || '.';
 my $HOSTIP="127.0.0.1";
-my $HOSTPORT=8999; # bad name, but this is the HTTP server port
-my $HTTPSPORT=8433; # this is the HTTPS server port
-my $FTPPORT=8921;  # this is the FTP server port
-my $FTPSPORT=8821;  # this is the FTPS server port
+
+my $base = 8990; # base port number
+
+my $HTTPPORT; # HTTP server port
+my $HTTPSPORT; # HTTPS server port
+my $FTPPORT; # FTP server port
+my $FTPSPORT; # FTPS server port
+
 my $CURL="../src/curl"; # what curl executable to run on the tests
 my $DBGCURL=$CURL; #"../src/.libs/curl";  # alternative for debugging
 my $LOGDIR="log";
@@ -325,7 +329,7 @@ sub runhttpserver {
     $pid = checkserver ($HTTPPIDFILE);
 
     # verify if our/any server is running on this port
-    my $cmd = "$CURL -o log/verifiedserver http://$HOSTIP:$HOSTPORT/verifiedserver 2>/dev/null";
+    my $cmd = "$CURL -o log/verifiedserver http://$HOSTIP:$HTTPPORT/verifiedserver 2>/dev/null";
     print "CMD; $cmd\n" if ($verbose);
     my $res = system($cmd);
 
@@ -343,7 +347,7 @@ sub runhttpserver {
         $pid = 0+$1;
     }
     elsif($data || ($res != 7)) {
-        print "RUN: Unknown HTTP server is running on port $HOSTPORT\n";
+        print "RUN: Unknown HTTP server is running on port $HTTPPORT\n";
         return -2;
     }
 
@@ -362,7 +366,7 @@ sub runhttpserver {
     if($dir) {
         $flag .= "-d \"$dir\" ";
     }
-    $cmd="$perl $srcdir/httpserver.pl $flag $HOSTPORT &";
+    $cmd="$perl $srcdir/httpserver.pl $flag $HTTPPORT &";
     system($cmd);
     if($verbose) {
         print "CMD: $cmd\n";
@@ -371,7 +375,7 @@ sub runhttpserver {
     my $verified;
     for(1 .. 10) {
         # verify that our server is up and running:
-        my $data=`$CURL --silent $HOSTIP:$HOSTPORT/verifiedserver 2>/dev/null`;
+        my $data=`$CURL --silent $HOSTIP:$HTTPPORT/verifiedserver 2>/dev/null`;
 
         if ( $data =~ /WE ROOLZ: (\d+)/ ) {
             $pid = 0+$1;
@@ -421,7 +425,7 @@ sub runhttpsserver {
     }
 
     my $flag=$debugprotocol?"-v ":"";
-    my $cmd="$perl $srcdir/httpsserver.pl $flag -s \"$stunnel\" -d $srcdir -r $HOSTPORT $HTTPSPORT &";
+    my $cmd="$perl $srcdir/httpsserver.pl $flag -s \"$stunnel\" -d $srcdir -r $HTTPPORT $HTTPSPORT &";
     system($cmd);
     if($verbose) {
         print "CMD: $cmd\n";
@@ -776,6 +780,12 @@ sub checkcurl {
     printf("* libcurl SSL:      %s\n", $ssl_version?"ON":"OFF");
     printf("* libcurl debug:    %s\n", $curl_debug?"ON":"OFF");
     printf("* valgrind:         %s\n", $valgrind?"ON":"OFF");
+    printf("* HTTP on port:     %d\n", $HTTPPORT);
+    printf("* FTP on port:      %d\n", $FTPPORT);
+    if($stunnel) {
+        printf("* FTPS on port:     %d\n", $FTPSPORT);
+        printf("* HTTPS on port:    %d\n", $HTTPSPORT);
+    }
     print "***************************************** \n";
 }
 
@@ -786,8 +796,7 @@ sub checkcurl {
 sub subVariables {
   my ($thing) = @_;
   $$thing =~ s/%HOSTIP/$HOSTIP/g;
-  $$thing =~ s/%HOSTPORT/$HOSTPORT/g;
-  $$thing =~ s/%HTTPPORT/$HOSTPORT/g;
+  $$thing =~ s/%HTTPPORT/$HTTPPORT/g;
   $$thing =~ s/%HTTPSPORT/$HTTPSPORT/g;
   $$thing =~ s/%FTPPORT/$FTPPORT/g;
   $$thing =~ s/%FTPSPORT/$FTPSPORT/g;
@@ -795,6 +804,15 @@ sub subVariables {
   $$thing =~ s/%PWD/$pwd/g;
 }
 
+sub fixarray {
+    my @in = @_;
+
+    for(@in) {
+        subVariables \$_;
+    }
+    return @in;
+}
+
 #######################################################################
 # Run a single specified test case
 #
@@ -908,17 +926,17 @@ sub singletest {
     }
 
     # curl command to run
-    my @curlcmd= getpart("client", "command");
+    my @curlcmd= fixarray ( getpart("client", "command") );
 
     # this is the valid protocol blurb curl should generate
-    my @protocol= getpart("verify", "protocol");
+    my @protocol= fixarray ( getpart("verify", "protocol") );
 
     # redirected stdout/stderr to these files
     $STDOUT="$LOGDIR/stdout$testnum";
     $STDERR="$LOGDIR/stderr$testnum";
 
     # if this section exists, we verify that the stdout contained this:
-    my @validstdout = getpart("verify", "stdout");
+    my @validstdout = fixarray ( getpart("verify", "stdout") );
 
     # if this section exists, we verify upload
     my @upload = getpart("verify", "upload");
@@ -1588,6 +1606,11 @@ if($valgrind) {
     }
 }
 
+$HTTPPORT =  $base + 0; # HTTP server port
+$HTTPSPORT = $base + 1; # HTTPS server port
+$FTPPORT =   $base + 2; # FTP server port
+$FTPSPORT =  $base + 3; # FTPS server port
+
 #######################################################################
 # Output curl version and host info being tested
 #