diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-17 14:29:54 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-17 14:29:54 +0000 |
commit | 4022a60ea7f88650f1b4abfe1e41c973cca7861d (patch) | |
tree | 1864df6f2a37c0f938f8a5cc5838463f6b4c1314 /docs/libcurl | |
parent | 39e366fc11f848c0424d75a914ce98a0e39995f0 (diff) |
I extended a patch from David Shaw to make libcurl _always_ provide an error
string in the given error buffer to address the flaw mention on 21 sep 2005.
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 8509aeb68..0cabd0047 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -270,12 +270,6 @@ debug/trace why errors happen. If the library does not return an error, the buffer may not have been touched. Do not rely on the contents in those cases. -In a few rare cases, there is no text string associated with the error in -libcurl and then you may not get a string in the buffer even though it returns -an error. This is considered a bug and we appreciate your reports about these -cases. Anyway, you can avoid problems with these cases in your program by -making sure to clear the first byte of the error buffer before you call -curl_easy_perform(). .IP CURLOPT_STDERR Pass a FILE * as parameter. Tell libcurl to use this stream instead of stderr when showing the progress meter and displaying \fICURLOPT_VERBOSE\fP data. |