diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2008-06-06 17:33:35 +0000 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2008-06-06 17:33:35 +0000 | 
| commit | 930a45e7a93c964ec224bdddb59f97479b7e4a5d (patch) | |
| tree | d567e363980655d50c73408540262b6ddaa3fff2 /docs/libcurl | |
| parent | afc66554d7225766a7b9ad773de38b9d0801ff84 (diff) | |
- 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.
Diffstat (limited to 'docs/libcurl')
| -rw-r--r-- | docs/libcurl/curl_easy_getinfo.3 | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/docs/libcurl/curl_easy_getinfo.3 b/docs/libcurl/curl_easy_getinfo.3 index be0f060d4..9837d417d 100644 --- a/docs/libcurl/curl_easy_getinfo.3 +++ b/docs/libcurl/curl_easy_getinfo.3 @@ -159,6 +159,12 @@ counted).  Combined with \fICURLINFO_REDIRECT_COUNT\fP you are able to know  how many times libcurl successfully reused existing connection(s) or not.  See  the Connection Options of \fIcurl_easy_setopt(3)\fP to see how libcurl tries  to make persistent connections to save time.  (Added in 7.12.3) +.IP CURLINFO_PRIMARY_IP +Pass a pointer to a char pointer to receive the pointer to a zero-terminated +string holding the IP address of the most recent connection done with this +\fBcurl\fP handle. This string may be IPv6 if that's enabled. Note that you +get a pointer to a memory area that will be re-used at next request so you +need to copy the string if you want to keep the information. (Added in 7.18.3)  .IP CURLINFO_COOKIELIST  Pass a pointer to a 'struct curl_slist *' to receive a linked-list of all  cookies cURL knows (expired ones, too). Don't forget to | 
