aboutsummaryrefslogtreecommitdiff
path: root/docs/TODO
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-30 20:34:57 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-30 20:34:57 +0000
commit9f44a95522162c0f4a61093efe1bf1f58b087358 (patch)
treeea90ca762a9a7a4f6772cb44b23e994b41f32644 /docs/TODO
parent4b60c3e9d3d284125857ecf90b1910db5ba318a2 (diff)
Renamed several libcurl error codes and options to make them more general
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3)
Diffstat (limited to 'docs/TODO')
-rw-r--r--docs/TODO19
1 files changed, 16 insertions, 3 deletions
diff --git a/docs/TODO b/docs/TODO
index 4d44fd6a8..01dfd5f41 100644
--- a/docs/TODO
+++ b/docs/TODO
@@ -275,9 +275,6 @@ TODO
and FTP-SSL tests without the stunnel dependency, and it could allow us to
provide test tools built with either OpenSSL or GnuTLS
- * Make the test servers able to serve multiple running test suites. Like if
- two users run 'make test' at once.
-
* If perl wasn't found by the configure script, don't attempt to run the
tests but explain something nice why it doesn't.
@@ -292,6 +289,22 @@ TODO
* #undef CURL_FTP_HTTPSTYLE_HEAD in lib/ftp.c to remove the HTTP-style headers
from being output in NOBODY requests over ftp
+ * Combine some of the error codes to remove duplicates. The original
+ numbering should not be changed, and the old identifiers would be
+ macroed to the new ones in an CURL_NO_OLDIES section to help with
+ backward compatibility.
+
+ Candidates for removal and their replacements:
+
+ CURLE_FILE_COULDNT_READ_FILE => CURLE_REMOTE_FILE_NOT_FOUND
+ CURLE_FTP_COULDNT_RETR_FILE => CURLE_REMOTE_FILE_NOT_FOUND
+ CURLE_FTP_COULDNT_USE_REST => CURLE_RANGE_ERROR
+ CURLE_FUNCTION_NOT_FOUND => CURLE_FAILED_INIT
+ CURLE_LDAP_INVALID_URL => CURLE_URL_MALFORMAT
+ CURLE_TFTP_NOSUCHUSER => CURLE_TFTP_ILLEGAL
+ CURLE_TFTP_NOTFOUND => CURLE_REMOTE_FILE_NOT_FOUND
+ CURLE_TFTP_PERM => CURLE_REMOTE_ACCESS_DENIED
+
NEXT MAJOR RELEASE
* curl_easy_cleanup() returns void, but curl_multi_cleanup() returns a