Commit Graph

31 Commits

Author SHA1 Message Date
Daniel Stenberg 514592b892 - Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
and receive data over a connection previously setup with curl_easy_perform()
  and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to
  show how they can be used.
2008-05-12 21:43:24 +00:00
Daniel Stenberg ce81cd21d3 I renamed the CURLE_SSL_PEER_CERTIFICATE error code to
CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this
return code get used by the previous SSH MD5 fingerprint check in case it
fails.
2007-10-03 08:07:50 +00:00
Dan Fandrich 3fa60164af Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED.
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants,
creating macros for backward compatibility.
2007-08-31 19:36:32 +00:00
Dan Fandrich 9f44a95522 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)
2007-08-30 20:34:57 +00:00
Daniel Stenberg aad1d3ce14 Daniel Cater: libcurl-errors needs updating to reflect a couple of deprecated
error codes
2007-07-13 20:07:22 +00:00
Daniel Stenberg 1b7f00b2a6 CURLE_FTP_COULDNT_STOR_FILE is now known as CURLE_UPLOAD_FAILED. This is
because I just made SCP uploads return this value if the file size of
the upload file isn't given with CURLOPT_INFILESIZE*. Docs updated to
reflect this news, and a define for the old name was added to the public
header file.
2007-05-08 11:34:31 +00:00
Daniel Stenberg 4e717cdb30 Armel Asselin separated CA cert verification problems from problems with
reading the (local) CA cert file to let users easier pinpoint the actual
problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
2006-10-21 11:32:05 +00:00
Daniel Stenberg ab60a12465 Starting now, adding an easy handle to a multi stack that was already added
to a multi stack will cause CURLM_BAD_EASY_HANDLE to get returned.
2006-10-12 14:30:47 +00:00
Daniel Stenberg 00a41ab296 corrected introduction version number 2006-06-24 21:49:40 +00:00
Daniel Stenberg 6ef7a81a3b updated with more error codes 2006-04-26 13:00:45 +00:00
Daniel Stenberg a21a77d230 CURLE_FTP_USER_PASSWORD_INCORRECT is not returned by libcurl anymore! 2006-04-09 22:41:22 +00:00
Daniel Stenberg 2aed209efa typo pointed out by Mike Griffiths 2006-01-27 21:23:04 +00:00
Daniel Stenberg 5acf997e69 upcoming new error code 2006-01-04 14:09:42 +00:00
Daniel Stenberg 1e51c3a832 bad formatting 2005-05-16 22:30:00 +00:00
Daniel Stenberg 14aa3fa258 add missing error codes 2005-02-09 14:13:21 +00:00
Daniel Stenberg 428741d7cf clarify CURLE_SSL_CERTPROBLEM somewhat 2004-09-02 21:05:56 +00:00
Daniel Stenberg d3c9f3d6f8 clarify that CURLE_FTP_USER_PASSWORD_INCORRECT might in fact get returned
even if user and password are correct
2004-08-11 08:44:36 +00:00
Daniel Stenberg 58f1cc0b5f added curl_*_strerror 2004-04-27 07:05:40 +00:00
Daniel Stenberg 923ce98e42 Kim Karlsson pointed out that error 57 was wrongly documented 2004-04-26 09:28:02 +00:00
Daniel Stenberg c1422864b5 additional info 2004-04-13 14:27:47 +00:00
Daniel Stenberg 4b78b4124e Tor Arntsen's major ispell patch 2004-03-24 21:40:45 +00:00
Daniel Stenberg 9d311ff2c0 mention error 64 2004-03-08 13:57:38 +00:00
Daniel Stenberg 220caed248 Dominick Meglio's added share interface documentation 2004-02-09 09:07:26 +00:00
Daniel Stenberg 90e9c64f72 Eric S. Raymond's fix of the NAME section 2003-12-10 07:16:20 +00:00
Daniel Stenberg ea53aed841 cut out the wrong version blurb 2003-12-04 12:56:05 +00:00
Daniel Stenberg eee3f13134 removed the _last since that is by definition not an error code 2003-11-06 12:52:48 +00:00
Daniel Stenberg 9b7c311929 .TP and .B replaced with .IP 2003-11-04 13:03:45 +00:00
Daniel Stenberg b3591ec464 Added a few undocumented errors 2003-10-18 11:53:42 +00:00
Daniel Stenberg efbe930a69 CURLE_HTTP_NOT_FOUND => CURLE_HTTP_RETURNED_ERROR 2002-12-18 16:51:02 +00:00
Daniel Stenberg 09df9b90c3 corrected to new return codes 2002-04-10 18:08:50 +00:00
Daniel Stenberg 536ea60d73 error codes documented 2002-04-10 13:24:45 +00:00