- 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

@ -1596,9 +1596,10 @@ typedef enum {
CURLINFO_LASTSOCKET = CURLINFO_LONG + 29,
CURLINFO_FTP_ENTRY_PATH = CURLINFO_STRING + 30,
CURLINFO_REDIRECT_URL = CURLINFO_STRING + 31,
CURLINFO_PRIMARY_IP = CURLINFO_STRING + 32,
/* Fill in new entries below here! */
CURLINFO_LASTONE = 31
CURLINFO_LASTONE = 32
} CURLINFO;
/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as