mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
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. |
||
---|---|---|
.. | ||
examples | ||
libcurl | ||
.gitignore | ||
BINDINGS | ||
BUGS | ||
CONTRIBUTE | ||
curl-config.1 | ||
curl.1 | ||
DISTRO-DILEMMA | ||
FAQ | ||
FEATURES | ||
HISTORY | ||
index.html | ||
INSTALL | ||
INSTALL.cmake | ||
INSTALL.devcpp | ||
INTERNALS | ||
KNOWN_BUGS | ||
LICENSE-MIXING | ||
MAIL-ETIQUETTE | ||
Makefile.am | ||
MANUAL | ||
README.cmake | ||
README.netware | ||
README.win32 | ||
RESOURCES | ||
SSLCERTS | ||
THANKS | ||
TheArtOfHttpScripting | ||
TODO | ||
VERSIONS |
_ _ ____ _ ___| | | | _ \| | / __| | | | |_) | | | (__| |_| | _ <| |___ \___|\___/|_| \_\_____| README.win32 Read the README file first. Curl has been compiled, built and run on all sorts of Windows and win32 systems. While not being the main develop target, a fair share of curl users are win32-based. The unix-style man pages are tricky to read on windows, so therefore are all those pages converted to HTML as well as pdf, and included in the release archives. The main curl.1 man page is also "built-in" in the command line tool. Use a command line similar to this in order to extract a separate text file: curl -M >manual.txt Read the INSTALL file for instructions how to compile curl self.