aboutsummaryrefslogtreecommitdiffstats
path: root/docs/cmdline-opts
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-02-27 14:57:55 -0800
committerElliott Hughes <enh@google.com>2018-02-27 14:57:55 -0800
commit0128fe4043cdbb72cc0c5b8f817749e3f89a7b36 (patch)
treeba15caf6905acc99ac3fbab158d7bf2fb0364a21 /docs/cmdline-opts
parentf9711a93659ab05f72b38dbdfbc475b797042693 (diff)
downloadexternal_curl-0128fe4043cdbb72cc0c5b8f817749e3f89a7b36.tar.gz
external_curl-0128fe4043cdbb72cc0c5b8f817749e3f89a7b36.tar.bz2
external_curl-0128fe4043cdbb72cc0c5b8f817749e3f89a7b36.zip
Update to 7.58.0 - January 24 2018.
Changes: new libssh-powered SSH SCP/SFTP back-end curl-config: add --ssl-backends Bugfixes: http2: fix incorrect trailer buffer size http: prevent custom Authorization headers in redirects travis: add boringssl build examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL SSL: Avoid magic allocation of SSL backend specific data lib: don't export all symbols, just everything curl_* libssh2: send the correct CURLE error code on scp file not found libssh2: return CURLE_UPLOAD_FAILED on failure to upload openssl: enable pkcs12 in boringssl builds libssh2: remove dead code from SSH_SFTP_QUOTE sasl_getmesssage: make sure we have a long enough string to pass conncache: fix several lock issues threaded-shared-conn.c: new example conncache: only allow multiplexing within same multi handle configure: check for netinet/in6.h URL: tolerate backslash after drive letter for FILE: openldap: add commented out debug possibilities include: get netinet/in.h before linux/tcp.h CONNECT: keep close connection flag in http_connect_state struct BINDINGS: another PostgreSQL client curl: limit -# update frequency for unknown total size configure: add AX_CODE_COVERAGE only if using gcc curl.h: remove incorrect comment about ERRORBUFFER openssl: improve data-pending check for https proxy curl: remove __EMX__ #ifdefs CURLOPT_PRIVATE.3: fix grammar sftp: allow quoted commands to use relative paths CURLOPT_DNS_CACHE_TIMEOUT.3: see also CURLOPT_RESOLVE RESOLVE: output verbose text when trying to set a duplicate name openssl: Disable file buffering for Win32 SSLKEYLOGFILE multi_done: prune DNS cache tests: update .gitignore for libtests tests: mark data files as non-executable in git CURLOPT_DNS_LOCAL_IP4.3: fixed the "SEE ALSO" to not self-reference curl.1: documented two missing valid exit codes curl.1: mention http:// and https:// as valid proxy prefixes vtls: replaced getenv() with curl_getenv() setopt: less *or equal* than INT_MAX/1000 should be fine examples/smtp-mail.c: use separate defines for options and mail curl: support >256 bytes warning messsages conncache: fix a return code krb5: fix a potential access of uninitialized memory rand: add a clang-analyzer work-around CURLOPT_READFUNCTION.3: refer to argument with correct name brotli: allow compiling with version 0.6.0 content_encoding: rework zlib_inflate curl_easy_reset: release mime-related data examples/rtsp: fix error handling macros build-openssl.bat: Added support for VC15 build-wolfssl.bat: Added support for VC15 build: Added Visual Studio 2017 project files winbuild: Added support for VC15 curl: Support size modifiers for --max-filesize examples/cacertinmem: ignore cert-already-exists error brotli: data at the end of content can be lost curl_version_info.3: call the argument 'age' openssl: fix memory leak of SSLKEYLOGFILE filename build: remove HAVE_LIMITS_H check --mail-rcpt: fix short-text description scripts: allow all perl scripts to be run directly progress: calculate transfer speed on milliseconds if possible system.h: check __LONG_MAX__ for defining curl_off_t easy: fix connection ownership in curl_easy_pause setopt: reintroduce non-static Curl_vsetopt() for OS400 support setopt: fix SSLVERSION to allow CURL_SSLVERSION_MAX_ values configure.ac: append extra linker flags instead of prepending them HTTP: bail out on negative Content-Length: values docs: comment about CURLE_READ_ERROR returned by curl_mime_filedata mime: clone mime tree upon easy handle duplication openssl: enable SSLKEYLOGFILE support by default smtp/pop3/imap_get_message: decrease the data length too... CURLOPT_TCP_NODELAY.3: fix typo SMB: fix numeric constant suffix and variable types ftp-wildcard: fix matching an empty string with "*[^a]" curl_fnmatch: only allow 5 '*' sections in a single pattern openssl: fix potential memory leak in SSLKEYLOGFILE logic SSH: Fix state machine for ssh-agent authentication examples/url2file.c: add missing curl_global_cleanup() call http2: don't close connection when single transfer is stopped libcurl-env.3: first version curl: progress bar refresh, get width using ioctl() CONNECT_TO: fail attempt to set an IPv6 numerical without IPv6 support Bug: N/A Test: builds, boots, `vendor/google/tools/fake-ota on streaming` works Change-Id: I91e0837f7b34a785f5bddb173262038dcaabdcda
Diffstat (limited to 'docs/cmdline-opts')
-rwxr-xr-xdocs/cmdline-opts/gen.pl2
-rw-r--r--docs/cmdline-opts/limit-rate.d2
-rw-r--r--docs/cmdline-opts/mail-rcpt.d2
-rw-r--r--docs/cmdline-opts/max-filesize.d4
-rw-r--r--docs/cmdline-opts/page-footer8
5 files changed, 15 insertions, 3 deletions
diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl
index 73ea6d47..6ecf1b51 100755
--- a/docs/cmdline-opts/gen.pl
+++ b/docs/cmdline-opts/gen.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
=begin comment
diff --git a/docs/cmdline-opts/limit-rate.d b/docs/cmdline-opts/limit-rate.d
index 8784a84d..06c456e3 100644
--- a/docs/cmdline-opts/limit-rate.d
+++ b/docs/cmdline-opts/limit-rate.d
@@ -8,7 +8,7 @@ your transfer not to use your entire bandwidth. To make it slower than it
otherwise would be.
The given speed is measured in bytes/second, unless a suffix is appended.
-Appending 'k' or 'K' will count the number as kilobytes, 'm' or M' makes it
+Appending 'k' or 'K' will count the number as kilobytes, 'm' or 'M' makes it
megabytes, while 'g' or 'G' makes it gigabytes. Examples: 200K, 3m and 1G.
If you also use the --speed-limit option, that option will take precedence and
diff --git a/docs/cmdline-opts/mail-rcpt.d b/docs/cmdline-opts/mail-rcpt.d
index d747ceab..0a2859b6 100644
--- a/docs/cmdline-opts/mail-rcpt.d
+++ b/docs/cmdline-opts/mail-rcpt.d
@@ -1,6 +1,6 @@
Long: mail-rcpt
Arg: <address>
-Help: Mail from this address
+Help: Mail to this address
Protocols: SMTP
Added: 7.20.0
---
diff --git a/docs/cmdline-opts/max-filesize.d b/docs/cmdline-opts/max-filesize.d
index e92ef583..50d5266e 100644
--- a/docs/cmdline-opts/max-filesize.d
+++ b/docs/cmdline-opts/max-filesize.d
@@ -7,6 +7,10 @@ Specify the maximum size (in bytes) of a file to download. If the file
requested is larger than this value, the transfer will not start and curl will
return with exit code 63.
+A size modifier may be used. For example, Appending 'k' or 'K' will count the
+number as kilobytes, 'm' or 'M' makes it megabytes, while 'g' or 'G' makes it
+gigabytes. Examples: 200K, 3m and 1G. (Added in 7.58.0)
+
\fBNOTE:\fP The file size is not always known prior to download, and for such
files this option has no effect even if the file transfer ends up being larger
than this given limit. This concerns both FTP and HTTP transfers.
diff --git a/docs/cmdline-opts/page-footer b/docs/cmdline-opts/page-footer
index 55aefb23..6006f464 100644
--- a/docs/cmdline-opts/page-footer
+++ b/docs/cmdline-opts/page-footer
@@ -41,6 +41,10 @@ If no protocol is specified in the proxy string or if the string doesn't match
a supported one, the proxy will be treated as an HTTP proxy.
The supported proxy protocol prefixes are as follows:
+.IP "http://"
+Makes it use it as a HTTP proxy. The default if no scheme prefix is used.
+.IP "https://"
+Makes it treated as a \fBHTTPS\fP proxy.
.IP "socks4://"
Makes it the equivalent of --socks4
.IP "socks4a://"
@@ -231,6 +235,10 @@ FTP chunk callback reported error
No connection available, the session will be queued
.IP 90
SSL public key does not matched pinned public key
+.IP 91
+Invalid SSL certificate status.
+.IP 92
+Stream error in HTTP/2 framing layer.
.IP XX
More error codes will appear here in future releases. The existing ones
are meant to never change.