From 0b0a88b78d98935f7f63ff70a79a58bdc7bf4c52 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 11 Apr 2003 08:19:06 +0000 Subject: when saving a cookie jar fails, you don't get an error code or anything, just a warning in the verbose output stream --- docs/libcurl/curl_easy_setopt.3 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/libcurl') diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 4763c871a..c8720c27a 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -478,6 +478,13 @@ is called. If no cookies are known, no file will be created. Specify "-" to 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) + +.B NOTE +If the cookie jar file can't be created or written to (when the +curl_easy_cleanup() is called), libcurl will not and cannot report an error +for this. Using CURLOPT_VERBOSE or CURLOPT_DEBUGFUNCTION will get a warning to +display, but that is the only visible feedback you get about this possibly +lethal situation. .TP .B CURLOPT_TIMECONDITION Pass a long as parameter. This defines how the CURLOPT_TIMEVALUE time value is -- cgit v1.2.3