01f05d0c75
Stop the abuse of CURLE_FAILED_INIT as return code for things not being init related by introducing two new return codes: CURLE_NOT_BUILT_IN and CURLE_UNKNOWN_OPTION CURLE_NOT_BUILT_IN replaces return code 4 that has been obsoleted for several years. It is used for returning error when something is attempted to be used but the feature/option was not enabled or explictitly disabled at build-time. Getting this error mostly means that libcurl needs to be rebuilt. CURLE_FAILED_INIT is now saved and used strictly for init failures. Getting this problem means something went seriously wrong, like a resource shortage or similar. CURLE_UNKNOWN_OPTION is the option formerly known as CURLE_UNKNOWN_TELNET_OPTION (and the old name is still present, separately defined to be removed in a very distant future). This error code is meant to be used to return when an option is given to libcurl that isn't known. This problem would mostly indicate a problem in the program that uses libcurl. |
||
---|---|---|
CMake | ||
docs | ||
include | ||
lib | ||
m4 | ||
packages | ||
perl | ||
src | ||
tests | ||
winbuild | ||
.gitattributes | ||
.gitignore | ||
Android.mk | ||
CHANGES | ||
CHANGES.0 | ||
CMakeLists.txt | ||
COPYING | ||
CTestConfig.cmake | ||
GIT-INFO | ||
MacOSX-Framework | ||
Makefile.am | ||
Makefile.dist | ||
Makefile.msvc.names | ||
README | ||
RELEASE-NOTES | ||
TODO-RELEASE | ||
acinclude.m4 | ||
buildconf | ||
buildconf.bat | ||
configure.ac | ||
curl-config.in | ||
curl-style.el | ||
install-sh | ||
libcurl.pc.in | ||
log2changes.pl | ||
maketgz | ||
missing | ||
mkinstalldirs | ||
sample.emacs | ||
vc6curl.dsw |
README
_ _ ____ _ ___| | | | _ \| | / __| | | | |_) | | | (__| |_| | _ <| |___ \___|\___/|_| \_\_____| README Curl is a command line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document. libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how! You find answers to the most frequent questions we get in the FAQ document. Study the COPYING file for distribution terms and similar. If you distribute curl binaries or other binaries that involve libcurl, you might enjoy the LICENSE-MIXING document. CONTACT If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list. See http://curl.haxx.se/mail/ All contributors to the project are listed in the THANKS document. WEB SITE Visit the curl web site for the latest news and downloads: http://curl.haxx.se/ GIT To download the very latest source off the GIT server do this: git clone git://github.com/bagder/curl.git (you'll get a directory named curl created, filled with the source code) NOTICE Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.