mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
error code fix
This commit is contained in:
parent
852b664e45
commit
e0e01e5a59
19
CHANGES
19
CHANGES
@ -6,6 +6,25 @@
|
||||
|
||||
History of Changes
|
||||
|
||||
Daniel (2 November 2000)
|
||||
- When I added --interface, the new error code that was added with it was
|
||||
inserted in the wrong place and thus all error codes from 35 and upwards got
|
||||
increased one step. This is now corrected, we're back at the previous
|
||||
numbers. All new exit codes should be added at the end.
|
||||
|
||||
Daniel (1 November 2000)
|
||||
- Added a check for signal() in the configure script so that if sigaction()
|
||||
isn't present, we can use signal() instead.
|
||||
|
||||
- I'm having a license discussion going on privately. The issue is yet again
|
||||
GPL-licensed programs that have problems with MPL. I am leaning towards
|
||||
making a kind of dual-license that will solve this once and for all...
|
||||
|
||||
Daniel (31 October 2000)
|
||||
- Added the packages/ directory. I intend to let this contain some docs and
|
||||
templates on how to generate custom-format packages for various platforms.
|
||||
I've now removed the RPM related curl.spec files from the archive root.
|
||||
|
||||
Daniel (30 October 2000)
|
||||
- T. Bharath brought a set of patches that bring new functionality to
|
||||
curl_easy_getinfo() and curl_easy_setopt(). Now you can request peer
|
||||
|
@ -100,7 +100,11 @@ typedef size_t (*curl_read_callback)(char *buffer,
|
||||
FILE *instream);
|
||||
|
||||
/* All possible error codes from this version of urlget(). Future versions
|
||||
may return other values, stay prepared. */
|
||||
may return other values, stay prepared.
|
||||
|
||||
Always add new return codes last. Never *EVER* remove any. The return
|
||||
codes must remain the same!
|
||||
*/
|
||||
|
||||
typedef enum {
|
||||
CURLE_OK = 0,
|
||||
@ -145,8 +149,6 @@ typedef enum {
|
||||
|
||||
CURLE_HTTP_POST_ERROR,
|
||||
|
||||
CURLE_HTTP_PORT_FAILED, /* HTTP Interface operation failed */
|
||||
|
||||
CURLE_SSL_CONNECT_ERROR, /* something was wrong when connecting with SSL */
|
||||
|
||||
CURLE_FTP_BAD_DOWNLOAD_RESUME, /* couldn't resume download */
|
||||
@ -159,10 +161,11 @@ typedef enum {
|
||||
CURLE_FUNCTION_NOT_FOUND,
|
||||
|
||||
CURLE_ABORTED_BY_CALLBACK,
|
||||
|
||||
CURLE_BAD_FUNCTION_ARGUMENT,
|
||||
CURLE_BAD_CALLING_ORDER,
|
||||
|
||||
CURLE_HTTP_PORT_FAILED, /* HTTP Interface operation failed */
|
||||
|
||||
CURL_LAST
|
||||
} CURLcode;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user