aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
AgeCommit message (Collapse)Author
2008-05-24Nikolai Kondrashov provided a clarification for CURLOPT_HEADERFUNCTIONDaniel Stenberg
2008-05-12- Introducing curl_easy_send() and curl_easy_recv(). They can be used to sendDaniel Stenberg
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-04-30- To make it easier for applications that want lots of magic stuff done onDaniel Stenberg
redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now introduce the new CURLINFO_REDIRECT_URL option that lets applications extract the URL libcurl would've redirected to if it had been told to. This then enables the application to continue to that URL as it thinks is suitable, without having to re-implement the magic of creating the new URL from the Location: header etc. Test 1029 verifies it.
2008-04-10mention what happens to the data when a write callback returns pauseDaniel Stenberg
2008-04-10clarify the COOKIE option a bitDaniel Stenberg
2008-04-09"tag" the function referals properlyDaniel Stenberg
2008-03-31- Added CURLFORM_STREAM as a supported option to curl_formadd() to allow anDaniel Stenberg
application to provide data for a multipart with the read callback. Note that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the stream option is used. This feature is verified by the new test case 554. This feature was sponsored by Xponaut.
2008-03-25spell it out loudly and clearly that CURLOPT_SSL_CTX_FUNCTION is onlyDaniel Stenberg
functional if libcurl is built against OpenSSL
2008-03-11Recommend passing a 1 as parameter to CURLOPT_SSLENGINE_DEFAULT rather thanDaniel Stenberg
a "dummy" just to get things as fixed as possible in case we ever get the urge to change this to actually mean something.
2008-03-11- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and onlyMichal Marek
works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html , http://curl.haxx.se/mail/lib-2008-02/0292.html )
2008-03-06spellcheckedDaniel Stenberg
2008-03-06curl_multi_timeout() is really not recommended with curl_multi_socket()-basedDaniel Stenberg
usage
2008-02-19applied patch to disable SSLv2 by default; discussion:Gunter Knauf
http://sourceforge.net/tracker/index.php?func=detail&aid=1767276&group_id=976&atid=350976 Submitted by Kaspar Brand.
2008-02-03it is stable now...Daniel Stenberg
2008-01-11Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way itDaniel Stenberg
already worked for FTP:// URLs
2008-01-10Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allowDaniel Stenberg
libcurl to seek in a given input stream. This is particularly important when doing upload resumes when there's already a huge part of the file present remotely. Before, and still if this callback isn't used, libcurl will read and through away the entire file up to the point to where the resuming begins (which of course can be a slow opereration depending on file size, I/O bandwidth and more). This new function will also be preferred to get used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when doing multi-stage HTTP auth with POST/PUT.
2008-01-08Introducing curl_easy_pause() and new magic return codes for both the readDaniel Stenberg
and the write callbacks that now can make a connection's reading and/or writing get paused.
2008-01-05Based on further discussion on curl-library, I reverted yesterday's SOCKS5Daniel Stenberg
code to instead introduce support for a new proxy type called CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy instead of IP address and there's thus no longer any need for a new curl_easy_setopt() option. The default SOCKS5 proxy is again back to sending the IP address to the proxy. The new curl command line option for enabling sending host name to a SOCKS5 proxy is now --socks5-hostname.
2008-01-04Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let theDaniel Stenberg
proxy do the host name resolving and only if --socks5ip (or CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and pass on the IP address only to the proxy.
2008-01-02Richard Atterer brought a patch that added support for SOCKS4a proxies, whichDaniel Stenberg
is an inofficial PROXY4 variant that sends the hostname to the proxy instead of the resolved address (which is already supported by SOCKS5). --socks4a is the curl command line option for it and CURLOPT_PROXYTYPE can now be set to CURLPROXY_SOCKS4A as well.
2007-12-11clarify that the CURLMOPT_TIMERFUNCTION callback can pass in 0 and -1 as legalDaniel Stenberg
values and what they mean
2007-12-08mention how to enable chunked encoding for POSTsDaniel Stenberg
2007-12-06clarify that when curl_multi_timeout() returns -1 it just means that thereDaniel Stenberg
is no current timeout. It does not mean wait forever and it does not mean do not wait at all. It means there is no timeout value known at this point in time.
2007-12-02Michal Marek introduced CURLOPT_PROXY_TRANSFER_MODE which is used to controlDaniel Stenberg
the appending of the "type=" thing on FTP URLs when they are passed to a HTTP proxy. Some proxies just don't like that appending (which is done unconditionally in 7.17.1), and some proxies treat binary/ascii transfers better with the appending done!
2007-11-20clarify somewhat what happens to some data when a share is set to be usedDaniel Stenberg
2007-10-15Mention first version with CURLOPT_COPYPOSTFIELDS.Dan Fandrich
Don't confuse NUL with NULL.
2007-10-15Fix dynamic CURLOPT_POSTFIELDS bug: back to static.Patrick Monnerat
CURLOPT_COPYPOSTFIELDS option added for dynamic. Fix some OS400 features.
2007-10-09Add a paragraph about CURLOPT_CUSTOMREQUEST not actually changing libcurl'sDaniel Stenberg
behavior, it only changes the actual request method keyword and this is not always what the user/app wants.
2007-10-05add url to the wikipedia article for a longer descriptionDaniel Stenberg
2007-10-05Alexey Pesternikov documented CURLOPT_OPENSOCKETDATA andDaniel Stenberg
CURLOPT_OPENSOCKETFUNCTION
2007-10-05Michael Wallner made the CULROPT_COOKIELIST option support a new magicDaniel Stenberg
string: "FLUSH". Using that will cause libcurl to flush its cookies to the CURLOPT_COOKIEJAR file.
2007-10-04The new file docs/libcurl/ABI describes how we view ABI breakages, sonameDaniel Stenberg
bumps and what the version number's significance to all that is.
2007-10-03I renamed the CURLE_SSL_PEER_CERTIFICATE error code toDaniel Stenberg
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-03Based on a patch brought by Johnny Luong, libcurl now offersDaniel Stenberg
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make the SCP or SFTP connection verify the remote host's md5 checksum of the public key before doing a connect, to reduce the risk of a man-in-the-middle attack.
2007-10-02CURLOPT_POST301 section, added by Philip LangdaleDaniel Stenberg
2007-08-31Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED.Dan Fandrich
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility.
2007-08-30Renamed several libcurl error codes and options to make them more generalDan Fandrich
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-221) the talk about strings used by libcurl doesn't apply to libcurl >= 7.17.0Daniel Stenberg
2) added nroff header
2007-08-07Usage of the BCURLOPT_PROGRESSFUNCTION callback is not recommended when usingDaniel Stenberg
the multi interface, but having the comment in here caused more questions than we fixed problems so I remove it now. It still works fine.
2007-08-02clarify that setting POSTFIELDS to NULL or "" is not enough to make a zero byteDaniel Stenberg
POST
2007-08-01Patrick Monnerat and I modified libcurl so that now it *copies* all stringsDaniel Stenberg
passed to it with curl_easy_setopt()! Previously it has always just refered to the data, forcing the user to keep the data around until libcurl is done with it. That is now history and libcurl will instead clone the given strings and keep private copies.
2007-07-30users should use the CURLMOPT_TIMERFUNCTION rather than curl_multi_timeoutDaniel Stenberg
when using the socket API
2007-07-30less blocking these daysDaniel Stenberg
2007-07-30updated based on suggestion from Jeff PohlmeyerDaniel Stenberg
2007-07-20Document pwd as an sftp quote command for curl(1), and show it asDan Fandrich
lower case for consistency since sftp commands are case insensitive.
2007-07-18SFTP also supports PWDJames Housley
2007-07-18Added the list of sftp quote commands.Dan Fandrich
2007-07-13Daniel Cater: libcurl-errors needs updating to reflect a couple of deprecatedDaniel Stenberg
error codes
2007-07-11Added the first libcurl version to which the SSH options were added.Dan Fandrich
2007-07-02Fix problem with the indenting noticed by PavelJames Housley