From 930a45e7a93c964ec224bdddb59f97479b7e4a5d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 6 Jun 2008 17:33:35 +0000 Subject: - 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. --- tests/data/test500 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/data/test500') diff --git a/tests/data/test500 b/tests/data/test500 index bf4407fea..33a3a7959 100644 --- a/tests/data/test500 +++ b/tests/data/test500 @@ -32,13 +32,16 @@ lib500 simple libcurl HTTP GET tool -http://%HOSTIP:%HTTPPORT/500 +http://%HOSTIP:%HTTPPORT/500 log/ip500 # # Verify data after the test has been "shot" + +IP: %HOSTIP + GET /500 HTTP/1.1 Host: %HOSTIP:%HTTPPORT -- cgit v1.2.3