- Added CURLINFO_PRIMARY_IP as a new information retrievable with

curl_easy_getinfo. It returns a pointer to a string with the most recently
  used IP address. Modified test case 500 to also verify this feature. The
  implementing of this feature was sponsored by Lenny Rachitsky at NeuStar.
This commit is contained in:
Daniel Stenberg
2008-06-06 17:33:35 +00:00
parent afc66554d7
commit 930a45e7a9
9 changed files with 48 additions and 7 deletions

View File

@@ -32,13 +32,16 @@ lib500
simple libcurl HTTP GET tool
</name>
<command>
http://%HOSTIP:%HTTPPORT/500
http://%HOSTIP:%HTTPPORT/500 log/ip500
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<file name="log/ip500" mode="text">
IP: %HOSTIP
</file>
<protocol>
GET /500 HTTP/1.1
Host: %HOSTIP:%HTTPPORT