aboutsummaryrefslogtreecommitdiff
path: root/docs/curl.1
AgeCommit message (Collapse)Author
2008-07-03Introcuding a new timestamp for curl_easy_getinfo():Daniel Stenberg
CURLINFO_APPCONNECT_TIME. This is set with the "application layer" handshake/connection is completed (typically SSL, TLS or SSH). By using this you can figure out the application layer's own connect time. You can extract the time stamp using curl's -w option and the new variable named 'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar.
2008-06-08the next release is now called 7.19.0Daniel Stenberg
2008-06-08- curl the tool now deals with its command line options somewhat differently!Daniel Stenberg
All boolean options (such as -O, -I, -v etc), both short and long versions, now always switch on/enable the option named. Using the same option multiple times thus make no difference. To switch off one of those options, you need to use the long version of the option and type --no-OPTION. Like to disable verbose mode you use --no-verbose! - Added --remote-name-all to curl, which if used changes the default for all given URLs to be dealt with as if -O is used. So if you want to disable that for a specific URL after --remote-name-all has been used, you muse use -o - or --no-remote-name.
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-03-13--ftp-create-dirs works on SFTP as wellDan Fandrich
2008-02-18just mention in --cacert that curl normally has a default ca cert path built-inDaniel Stenberg
2008-01-25using anyauth isn't unconditionally an extra roundtripDaniel Stenberg
2008-01-15Michal Marek's improved .curlrc syntax descriptionDaniel Stenberg
2008-01-12Eric Landes provided the patch (edited by me) that introduces theDaniel Stenberg
--keepalive-time to curl to set the keepalive probe interval. I also took the opportunity to rename the recently added no-keep-alive option to no-keepalive to keep a consistent naming and to avoid getting two dashes in these option names. Eric also provided an update to the man page for the new option.
2008-01-11Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way itDaniel Stenberg
already worked for FTP:// URLs
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-27--libcurl was added in 7.16.1, a useful informationDaniel Stenberg
2007-12-14-u addition: If you just give the user name (without entering a colon) curlDaniel Stenberg
will prompt for a password. Denis Bredelet pointed out!
2007-12-12Gilles Blanc made the curl tool enable SO_KEEPALIVE for the connections andDaniel Stenberg
added the --no-keep-alive option that can disable that on demand.
2007-11-22Alessandro Vesely helped me improve the --data-urlencode's syntax, parserDaniel Stenberg
and documentation.
2007-11-20rephrasedDaniel Stenberg
2007-11-20Introuced --data-urlencode to the curl tool for easier url encoding of theDaniel Stenberg
data sent in a post.
2007-10-13Chris Leighton:Daniel Stenberg
My understanding is that we use "number" for discrete variables and "amount" for continuous variables. So you can say "The amount of flour required depends on..." or, "Last night I consumed a large amount of beer!". And, "That tank contains a large number of fish" or, "Over the week I consumed a number of cases of beer." I think that features are discrete, so the man page would read "...the number of features will make your head spin!".
2007-10-09Documented error codes 77-80, and fixed the one for 60.Dan Fandrich
2007-10-09Michal Marek removed the no longer existing return codes from the curl.1Daniel Stenberg
man page.
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-02document --post301, based on the phrasing in curl_easy_setopt.3 forDaniel Stenberg
CURLOPT_POST301 written by Philip Langdale
2007-09-24Bad use of "its" replaceed with a rephrase. I noticed this flaw thanks to theDaniel Stenberg
Debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443734
2007-09-21--proxy-negotiate is added in 7.17.1Daniel Stenberg
2007-09-21Mark Davies fixed Negotiate authentication over proxy, and also introducedDaniel Stenberg
the --proxy-negotiate command line option to allow a user to explicitly select it.
2007-09-18Rob Crittenden provided an NSS update with the following highlights:Daniel Stenberg
o It looks for the NSS database first in the environment variable SSL_DIR, then in /etc/pki/nssdb, then it initializes with no database if neither of those exist. o If the NSS PKCS#11 libnspsem.so driver is available then PEM files may be loaded, including the ca-bundle. If it is not available then only certificates already in the NSS database are used. o Tries to detect whether a file or nickname is being passed in so the right thing is done o Added a bit of code to make the output more like the OpenSSL module, including displaying the certificate information when connecting in verbose mode o Improved handling of certificate errors (expired, untrusted, etc) The libnsspem.so PKCS#11 module is currently only available in Fedora 8/rawhide. Work will be done soon to upstream it. The NSS module will work with or without it, all that changes is the source of the certificates and keys.
2007-08-23--libcurl does not support -FDaniel 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-01Thomas J. Moore provided a patch that introduces Kerberos5 support inDaniel Stenberg
libcurl. This also makes the options change name to --krb (from --krb4) and CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
2007-06-13Update documentation to reflect SFTP's ability to create directories onJames Housley
upload. Some text provieded by Tom Regner
2007-05-15Added support for quote commands before a transfer using SFTP and testDan Fandrich
case 614. Allow SFTP quote commands chmod, chown, chgrp to set a value of 0.
2007-05-14Added SFTP directory listing test case 613.Dan Fandrich
2007-05-09Added the list of SFTP post-quote commands, and fixed a few typos.Dan Fandrich
2007-04-22- Song Ma's warning if -r/--range is given with a "bad" range, also noted inDaniel Stenberg
the man page now.
2007-04-22clarify a bit on the follow-redirect logic and when curl switches from POSTDaniel Stenberg
to GET on redirect
2007-03-23Added --pubkey option to curl and made --key also work for SCP/SFTP,Dan Fandrich
plus made --pass work on an SSH private key as well.
2007-02-28clarify that -K files are expected to have one option per lineDaniel Stenberg
2007-02-23- Added warning outputs if the command line uses more than one of the optionsDaniel Stenberg
-v, --trace and --trace-ascii, since it could really confuse the user. Clarified this fact in the man page.
2007-02-20New FTP CCC functionality - adds passive and active mode to accomodate for ↵Linus Nielsen Feltzing
different server behaviour
2007-02-12Rob Crittenden added support for NSS (Network Security Service) for theDaniel Stenberg
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
2007-02-12- Shmulik Regev fixed so that the final CRLF of HTTP response headers are sentDaniel Stenberg
to the debug callback. - Shmulik Regev added CURLOPT_HTTP_CONTENT_DECODING and CURLOPT_HTTP_TRANSFER_DECODING that if set to zero will disable libcurl's internal decoding of content or transfer encoded content. This may be preferable in cases where you use libcurl for proxy purposes or similar. The command line tool got a --raw option to disable both at once.
2007-01-25- Added the --libcurl [file] option to curl. Append this option to anyDaniel Stenberg
ordinary curl command line, and you will get a libcurl-using source code written to the file that does the equivalent operation of what your command line operation does!
2007-01-05- Linus Nielsen Feltzing introduced the --ftp-ssl-ccc command line option toDaniel Stenberg
curl that uses the new CURLOPT_FTP_SSL_CCC option in libcurl. If enabled, it will make libcurl shutdown SSL/TLS after the authentication is done on a FTP-SSL operation.
2006-12-14minor syntax mistakeDaniel Stenberg
2006-12-067.16.1 knows SFTP tooDaniel Stenberg
2006-12-06clarify --limit-rate somewhat: it might send away/receive chunks of date inDaniel Stenberg
temporarily higher speeds than requested, but the given limiting is considered "over time" and is an average