- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user