aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-11 08:19:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-11 08:19:06 +0000
commit0b0a88b78d98935f7f63ff70a79a58bdc7bf4c52 (patch)
treed59d7128b950ade85f9084f2b9db4109f8b263c6 /docs
parent028e9cc56f2e67335b87cfe5eea9dc1c584d8f6e (diff)
when saving a cookie jar fails, you don't get an error code or anything,
just a warning in the verbose output stream
Diffstat (limited to 'docs')
-rw-r--r--docs/curl.16
-rw-r--r--docs/libcurl/curl_easy_setopt.37
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index f0790e547..4b6ca4ffd 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -110,6 +110,12 @@ no file will be written. The file will be written using the Netscape cookie
file format. If you set the file name to a single dash, "-", the cookies will
be written to stdout. (Option added in curl 7.9)
+.B NOTE
+If the cookie jar can't be created or written to, the whole curl operation
+won't fail or even report an error clearly. Using -v will get a warning
+displayed, but that is the only visible feedback you get about this possibly
+lethal situation.
+
If this option is used several times, the last specfied file name will be
used.
.IP "-C/--continue-at <offset>"
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