diff options
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index e3908c686..12087ea8f 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -462,6 +462,10 @@ Pass a pointer to a zero terminated string as parameter. It should contain the name of your file holding cookie data. The cookie data may be in Netscape / Mozilla cookie data format or just regular HTTP-style headers dumped to a file. + +Given an empty or non-existing file, this option will only enable cookies for +this curl handle, making it understand and parse received cookies and then use +matching cookies in future request. .TP .B CURLOPT_SSLVERSION Pass a long as parameter. Set what version of SSL to attempt to use, 2 or @@ -634,7 +638,11 @@ the provided hostname. (Added in 7.8.1) Pass a file name as char *, zero terminated. This will make libcurl dump all internally known cookies to the specified file when \fIcurl_easy_cleanup(3)\fP is called. If no cookies are known, no file will be created. Specify "-" to -instead have the cookies written to stdout. (Added in 7.9) +instead have the cookies written to stdout. Using this option also enables +cookies for this session, so if you for example follow a location it will make +matching cookies get sent accordingly. + +(Added in 7.9) .TP .B CURLOPT_SSL_CIPHER_LIST Pass a char *, pointing to a zero terminated string holding the list of |