summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts
Commit message (Collapse)AuthorAgeFilesLines
...
* schannel: stop calling it "winssl"Daniel Stenberg2019-02-013-7/+7
| | | | | | | | Stick to "Schannel" everywhere. The configure option --with-winssl is kept to allow existing builds to work but --with-schannel is added as an alias. Closes #3504
* docs/version.d: mention MultiSSLDaniel Stenberg2019-01-031-0/+2
| | | | | Reviewed-by: Daniel Gustafsson Closes #3432
* hostip: support wildcard hostsClaes Jakobsson2018-12-271-0/+6
| | | | | | | | | | | | | | | | | This adds support for wildcard hosts in CURLOPT_RESOLVE. These are try-last so any non-wildcard entry is resolved first. If specified, any host not matched by another CURLOPT_RESOLVE config will use this as fallback. Example send a.com to 10.0.0.1 and everything else to 10.0.0.2: curl --resolve *:443:10.0.0.2 --resolve a.com:443:10.0.0.1 \ https://a.com https://b.com This is probably quite similar to using: --connect-to a.com:443:10.0.0.1:443 --connect-to :443:10.0.0.2:443 Closes #3406 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* http: added options for allowing HTTP/0.9 responsesDaniel Stenberg2018-12-212-49/+215
| | | | | | | | | | | | Added CURLOPT_HTTP09_ALLOWED and --http0.9 for this purpose. For now, both the tool and library allow HTTP/0.9 by default. docs/DEPRECATE.md lays out the plan for when to reverse that default: 6 months after the 7.64.0 release. The options are added already now so that applications/scripts can start using them already now. Fixes #2873 Closes #3383
* docs: fix the --tls-max descriptionDaniel Stenberg2018-12-131-4/+4
| | | | | | | Reported-by: Tobias Lindgren Pointed out in #3367 Closes #3368
* cmdline-opts/gen.pl: define the correct varnameDaniel Gustafsson2018-11-261-1/+1
| | | | | | | | The variable definition had a small typo making it declare another variable then the intended. Closes #3304 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* curl: add %{stderr} and %{stdout} for --write-outFrank Gevaerts2018-11-071-0/+12
| | | | Closes #3115
* netrc: don't ignore the login name specified with "--user"Michael Kaufmann2018-11-051-1/+1
| | | | | | | | | | | | - for "--netrc", don't ignore the login/password specified with "--user", only ignore the login/password in the URL. This restores the netrc behaviour of curl 7.61.1 and earlier. - fix the documentation of CURL_NETRC_REQUIRED - improve the detection of login/password changes when reading .netrc - don't read .netrc if both login and password are already set Fixes #3213 Closes #3224
* curl.1: --ipv6 mutexes ipv4 (fixed typo)Alexey Eremikhin2018-10-261-1/+1
| | | | | Fixes #3171 Closes #3172
* data-binary.d: clarify default content-type is x-www-form-urlencodedJay Satiro2018-10-031-0/+5
| | | | | | | | | | - Advise user that --data-binary sends a default content type of x-www-form-urlencoded, and to have the data treated as arbitrary binary data by the server set the content-type header to octet-stream. Ref: https://github.com/curl/curl/pull/2852#issuecomment-426465094 Closes https://github.com/curl/curl/pull/3085
* cmake: fixed path used in generation of docs/tests during curl build through ↵Sergei Nikulov2018-09-281-1/+1
| | | | add_subdicectory(...)
* whitespace fixesViktor Szakats2018-09-232-2/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* curl: update --tlsv* descriptions in --help outputSi2018-09-164-4/+4
| | | | Closes #2994
* docs/cmdline-opts: update the documentation of --tlsv1.0Kamil Dudka2018-09-101-1/+1
| | | | | | ... to reflect the changes in 6015cefb1b2cfde4b4850121c42405275e5e77d9 Closes #2955
* curl: --doh-url addedDaniel Stenberg2018-09-062-1/+10
|
* tool_operate: Add http code 408 to transient list for --retryJay Satiro2018-09-031-1/+1
| | | | | | | - Treat 408 request timeout as transient so that curl will retry the request if --retry was used. Closes #2925
* cmdline-opts/page-footer: fix edit mistakeDaniel Stenberg2018-08-251-4/+4
| | | | | | There was a missing newline. follow-up to a7ba60bb7250
* docs: clarify NO_PROXY env variable functionalityDaniel Stenberg2018-08-241-3/+4
| | | | | | Reported-by: Kirill Marchuk Fixes #2773 Closes #2911
* docs: add disallow-username-in-url.d and haproxy-protocol.d on the listKamil Dudka2018-08-131-1/+2
| | | | | | ... to make make the files appear in distribution tarballs Closes #2856
* ssl: set engine implicitly when a PKCS#11 URI is providedAnderson Toshiyuki Sasaki2018-08-082-0/+14
| | | | | | | | | | | This allows the use of PKCS#11 URI for certificates and keys without setting the corresponding type as "ENG" and the engine as "pkcs11" explicitly. If a PKCS#11 URI is provided for certificate, key, proxy_certificate or proxy_key, the corresponding type is set as "ENG" if not provided and the engine is set to "pkcs11" if not provided. Acked-by: Nikos Mavrogiannopoulos Closes #2333
* post303.d: clarify that this is an RFC violationDaniel Stenberg2018-07-101-5/+4
| | | | | | | | ... and not the other way around, which this previously said. Reported-by: Vasiliy Faronov Fixes #2723 Closes #2726
* openssl: make the requested TLS version the *minimum* wantedDaniel Stenberg2018-06-293-3/+3
| | | | | | | | | | | The code treated the set version as the *exact* version to require in the TLS handshake, which is not what other TLS backends do and probably not what most people expect either. Reported-by: Andreas Olsson Assisted-by: Gaurav Malhotra Fixes #2691 Closes #2694
* openssl: allow TLS 1.3 by defaultDaniel Stenberg2018-06-291-2/+2
| | | | | | Reported-by: Andreas Olsson Fixes #2692 Closes #2693
* cmdline-opts/cert-type.d: mention "p12" as a recognized type as wellDaniel Stenberg2018-06-051-3/+3
|
* option: disallow username in URLBjörn Stenberg2018-05-311-0/+7
| | | | | | | Adds CURLOPT_DISALLOW_USERNAME_IN_URL and --disallow-username-in-url. Makes libcurl reject URLs with a username in them. Closes #2340
* setopt: add TLS 1.3 ciphersuitesDaniel Stenberg2018-05-293-1/+25
| | | | | | | | | | Adds CURLOPT_TLS13_CIPHERS and CURLOPT_PROXY_TLS13_CIPHERS. curl: added --tls13-ciphers and --proxy-tls13-ciphers Fixes #2435 Reported-by: zzq1015 on github Closes #2607
* cmdline-opts/gen.pl: warn if mutexes: or see-also: list non-existing optionsDaniel Stenberg2018-05-281-0/+6
|
* curl.1: Fix cmdline-opts reference errors.Frank Gevaerts2018-05-283-3/+3
| | | | | | | | | --data, --form, and --ntlm were declared to be mutually exclusive with non-existing options. --data and --form referred to --upload (which is short for --upload-file and therefore did work, so this one was merely a bit confusing), --ntlm referred to --negotiated instead of --negotiate. Closes #2612
* docs: fix cmdline-opts metadata headers case consistency.Frank Gevaerts2018-05-2812-14/+14
| | | | Almost all headers start with an uppercase letter, but some didn't.
* curl: added --styled-outputDaniel Stenberg2018-05-212-1/+8
| | | | | | | It is enabled by default, so --no-styled-output will switch off the detection/use of bold headers. Closes #2538
* docs: mention HAproxy protocol "version 1"Aleks2018-05-181-2/+2
| | | | | | ...as there's also a version 2. Closes #2579
* curl.1: clarify that options and URLs can be mixedDaniel Stenberg2018-04-231-4/+4
| | | | | Fixes #2515 Closes #2517
* CURLOPT_SSLCERT.3: improve WinSSL-specific usage infoArchangel_SDY2018-04-231-0/+11
| | | | | | Ref: https://github.com/curl/curl/pull/2376#issuecomment-381858780 Closes https://github.com/curl/curl/pull/2504
* tool_help: clarify --max-time unit of time is secondsJay Satiro2018-04-211-1/+1
| | | | | | | | Before: -m, --max-time <time> Maximum time allowed for the transfer After: -m, --max-time <seconds> Maximum time allowed for the transfer
* schannel: add support for CURLOPT_CAINFODan McNulty2018-04-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move verify_certificate functionality in schannel.c into a new file called schannel_verify.c. Additionally, some structure defintions from schannel.c have been moved to schannel.h to allow them to be used in schannel_verify.c. - Make verify_certificate functionality for Schannel available on all versions of Windows instead of just Windows CE. verify_certificate will be invoked on Windows CE or when the user specifies CURLOPT_CAINFO and CURLOPT_SSL_VERIFYPEER. - In verify_certificate, create a custom certificate chain engine that exclusively trusts the certificate store backed by the CURLOPT_CAINFO file. - doc updates of --cacert/CAINFO support for schannel - Use CERT_NAME_SEARCH_ALL_NAMES_FLAG when invoking CertGetNameString when available. This implements a TODO in schannel.c to improve handling of multiple SANs in a certificate. In particular, all SANs will now be searched instead of just the first name. - Update tool_operate.c to not search for the curl-ca-bundle.crt file when using Schannel to maintain backward compatibility. Previously, any curl-ca-bundle.crt file found in that search would have been ignored by Schannel. But, with CAINFO support, the file found by that search would have been used as the certificate store and could cause issues for any users that have curl-ca-bundle.crt in the search path. - Update url.c to not set the build time CURL_CA_BUNDLE if the selected SSL backend is Schannel. We allow setting CA location for schannel only when explicitly specified by the user via CURLOPT_CAINFO / --cacert. - Add new test cases 3000 and 3001. These test cases check that the first and last SAN, respectively, matches the connection hostname. New test certificates have been added for these cases. For 3000, the certificate prefix is Server-localhost-firstSAN and for 3001, the certificate prefix is Server-localhost-secondSAN. - Remove TODO 15.2 (Add support for custom server certificate validation), this commit addresses it. Closes https://github.com/curl/curl/pull/1325
* docs: fix typosJakub Wilk2018-04-176-10/+10
| | | | Closes https://github.com/curl/curl/pull/2503
* cookie.d: mention that "-" as filename means stdinDaniel Stenberg2018-03-201-1/+2
| | | | | Reported-by: Dongliang Mu Fixes #2410
* CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocolLawrence Matthews2018-03-171-0/+11
| | | | | | Add --haproxy-protocol for the command line tool Closes #2162
* user-agent.d:: mention --proxy-header as wellDaniel Stenberg2018-03-151-2/+2
| | | | Bug: https://github.com/curl/curl/issues/2381
* curl.1: mention how to add numerical IP addresses in NO_PROXYDaniel Stenberg2018-03-041-3/+6
|
* spelling fixesViktor Szakats2018-02-231-1/+1
| | | | | | | | Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
* form.d: rephrased somewhat, added two example command linesDaniel Stenberg2018-02-221-16/+26
|
* url: Add option CURLOPT_HAPPY_EYEBALLS_TIMEOUTAnders Bakken2018-02-202-1/+20
| | | | | | | | | | | | | | - Add new option CURLOPT_HAPPY_EYEBALLS_TIMEOUT to set libcurl's happy eyeball timeout value. - Add new optval macro CURL_HET_DEFAULT to represent the default happy eyeballs timeout value (currently 200 ms). - Add new tool option --happy-eyeballs-timeout-ms to expose CURLOPT_HAPPY_EYEBALLS_TIMEOUT. The -ms suffix is used because the other -timeout options in the tool expect seconds not milliseconds. Closes https://github.com/curl/curl/pull/2260
* CURLOPT_RESOLVE: Add support for multiple IP addresses per entryAnders Bakken2018-02-201-1/+3
| | | | | | | This enables users to preresolve but still take advantage of happy eyeballs and trying multiple addresses if some are not connecting. Ref: https://github.com/curl/curl/pull/2260
* tlsauthtype.d: works only if libcurl is built with TLS-SRP supportKamil Dudka2018-02-121-1/+3
| | | | | | Bug: https://bugzilla.redhat.com/1542256 Closes #2306
* progress-bar.d: update to match implementationDaniel Stenberg2018-01-301-2/+3
| | | | | | | | | ... since commit 993dd5651a6 Reported-by: Martin Dreher Bug: https://github.com/curl/curl/pull/2242#issuecomment-361059228 Closes #2271
* curl: add --proxy-pinnedpubkeyDaniel Stenberg2018-01-302-1/+17
| | | | | | | To verify a proxy's public key. For when using HTTPS proxies. Fixes #2192 Closes #2268
* scripts: allow all perl scripts to be run directlyJay Satiro2018-01-071-1/+1
| | | | | | | | - Enable execute permission (chmod +x) - Change interpreter to /usr/bin/env perl Closes https://github.com/curl/curl/pull/2222
* mail-rcpt.d: fix short-text descriptionJay Satiro2018-01-071-1/+1
|
* tool_getparam: Support size modifiers for --max-filesizeGisle Vanem2017-12-262-1/+5
| | | | | | | | | | | | | - Move the size modifier detection code from limit-rate to its own function so that it can also be used with max-filesize. Size modifiers are the suffixes such as G (gigabyte), M (megabyte) etc. For example --max-filesize 1G Ref: https://curl.haxx.se/mail/archive-2017-12/0000.html Closes https://github.com/curl/curl/pull/2179