aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_easy_setopt.3
AgeCommit message (Collapse)Author
2008-10-17remove some spurious line-endingsYang Tse
2008-10-16CURLOPT_POST301 => CURLOPT_POSTREDIRDan Fandrich
2008-10-16- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that thenDaniel Stenberg
make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding these new options is that they have no problems with the colon separator that the CURLOPT_PROXYUSERPWD option does.
2008-10-16correct version number for the certinfo additionDaniel Stenberg
2008-10-09Fixed a leftover reference to CURLOPT_FTP_SSL (thanks to Carlos AlloattiDan Fandrich
for spotting it).
2008-10-08- Igor Novoseltsev brought a patch that introduced two new options toDaniel Stenberg
curl_easy_setopt: CURLOPT_USERNAME and CURLOPT_PASSWORD that sort of deprecates the good old CURLOPT_USERPWD since they allow applications to set the user name and password independently and perhaps more importantly allow both to contain colon(s) which CURLOPT_USERPWD doesn't fully support.
2008-09-07SOCKS5_RESOLVE_LOCAL was just never added as an option!Daniel Stenberg
2008-09-05- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. ByDaniel Stenberg
enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS or FTPS), libcurl will gather lots of server certificate info and that info can then get extracted by a client after the request has completed with curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing helped me test and smoothen out this feature. Unfortunately, this feature currently only works with libcurl built to use OpenSSL. This feature was sponsored by networking4all.com - thanks!
2008-08-28Fixed a couple of typosDan Fandrich
2008-08-20Added an edited version of Vincent Le Normand's documentation of SFTP quoteDan Fandrich
commands to the man pages.
2008-07-30- Phil Blundell added the CURLOPT_SCOPE option, as well as adjusted the URLDaniel Stenberg
parser to allow numerical IPv6-addresses to be specified with the scope given, as per RFC4007 - with a percent letter that itself needs to be URL escaped. For example, for an address of fe80::1234%1 the HTTP URL is: "http://[fe80::1234%251]/"
2008-07-23Eliminated references to TRUE and FALSE since those identifiers aren'tDan Fandrich
defined by the libcurl API. Also changed curl_easy_setopt examples to pass longs where appropriate.
2008-07-23- I went over the curl_easy_setopt man page and replaced most references toDaniel Stenberg
non-zero with the fixed value of 1. We should strive at making options support '1' for enabling them mentioned explicitly, as that then will allow us for to extend them in the future without breaking older programs.
2008-07-10(Added in the section for CURLOPT_DNS_CACHE_TIMEOUT, pointed out on theDaniel Stenberg
curl-library list on July 9th 2008 by Mathew Hounsell) NOTE: the name resolve functions of various libc implementations don't re-read name server information unless explicitly told so (by for example calling Ires_init(3). This may cause libcurl to keep using the older server even if DHCP has updated the server info, and this may look like a DNS cache issue to the casual libcurl-app user.
2008-06-087.19.0 is nextDaniel Stenberg
2008-06-08the next release is now called 7.19.0Daniel Stenberg
2008-06-06- Axel Tillequin and Arnaud Ebalard added support for CURLOPT_ISSUERCERT, forDaniel Stenberg
OpenSSL, NSS and GnuTLS-built libcurls.
2008-06-06mention added in 7.18.3Daniel Stenberg
2008-06-06- Axel Tillequin and Arnaud Ebalard added support for CURLOPT_CRLFILE, forDaniel Stenberg
OpenSSL, NSS and GnuTLS-built libcurls.
2008-05-24Nikolai Kondrashov provided a clarification for CURLOPT_HEADERFUNCTIONDaniel Stenberg
2008-04-10clarify the COOKIE option a bitDaniel Stenberg
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-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-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-08mention how to enable chunked encoding for POSTsDaniel Stenberg
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-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-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-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-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-11Added the first libcurl version to which the SSH options were added.Dan Fandrich