summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* examples/http2-upload: expand buffer to avoid silly warningDaniel Stenberg2018-04-241-2/+2
| | | | | http2-upload.c:135:44: error: ‘%02d’ directive output may be truncated writing between 2 and 11 bytes into a region of size between 8 and 17
* examples/sftpuploadresume: typecast fseek argument to longDaniel Stenberg2018-04-241-1/+1
| | | | | /docs/examples/sftpuploadresume.c:102:12: warning: conversion to 'long int' from 'curl_off_t {aka long long int}' may alter its value
* curl_global_sslset: always provide available backendsChristian Schmitz2018-04-231-1/+4
| | | | Closes #2499
* 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-232-2/+21
| | | | | | 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-183-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-1754-75/+75
| | | | Closes https://github.com/curl/curl/pull/2503
* schannel: add client certificate authenticationArchangel_SDY2018-04-171-0/+3
| | | | | | | Users can now specify a client certificate in system certificates store explicitly using expression like `--cert "CurrentUser\MY\<thumbprint>"` Closes #2376
* checksrc: Fix typoDaniel Gustafsson2018-04-151-1/+1
| | | | | | Fix typo in "semicolon" spelling and remove stray tab character. Closes https://github.com/curl/curl/pull/2498
* all: Refactor malloc+memset to use callocDaniel Gustafsson2018-04-153-5/+1
| | | | | | | | | | When a zeroed out allocation is required, use calloc() rather than malloc() followed by an explicit memset(). The result will be the same, but using calloc() everywhere increases consistency in the codebase and avoids the risk of subtle bugs when code is injected between malloc and memset by accident. Closes https://github.com/curl/curl/pull/2497
* examples/sftpuploadresmue: Fix Windows large file seekJay Satiro2018-04-071-1/+5
| | | | | | | | | - Use _fseeki64 instead of fseek (long) to seek curl_off_t in Windows. - Use CURL_FORMAT_CURL_OFF_T specifier instead of %ld to print curl_off_t. Caught by Marc's CI builds.
* RELEASE-NOTES: syncedDaniel Stenberg2018-04-061-0/+1
|
* docs: fix CURLINFO_*_T examples use of CURL_FORMAT_CURL_OFF_TJay Satiro2018-03-316-6/+6
| | | | | | | | | - Put a percent sign before each CURL_FORMAT_CURL_OFF_T in printf. For example "%" CURL_FORMAT_CURL_OFF_T becomes %lld or similar. Bug: https://curl.haxx.se/mail/lib-2018-03/0140.html Reported-by: David L.
* TODO: connection cache sharing is now supporteDaniel Stenberg2018-03-271-2/+1
|
* gitignore: ignore more generated filesDaniel Stenberg2018-03-241-4/+12
|
* CURLINFO_SSL_VERIFYRESULT.3: fix the example, add some textDaniel Stenberg2018-03-211-3/+5
| | | | | | Reported-by: Michal Trybus Fixes #2400
* TODO: expand ~/ in config filesDaniel Stenberg2018-03-211-0/+8
| | | | Closes #2317
* cookie.d: mention that "-" as filename means stdinDaniel Stenberg2018-03-201-1/+2
| | | | | Reported-by: Dongliang Mu Fixes #2410
* CURLINFO_COOKIELIST.3: made the example not leak memoryDaniel Stenberg2018-03-201-4/+5
| | | | Reported-by: Muz Dima
* examples/hiperfifo: checksrc complianceJay Satiro2018-03-201-9/+13
|
* resolve: add CURLOPT_DNS_SHUFFLE_ADDRESSESRick Deist2018-03-174-0/+73
| | | | | | | | | | | This patch adds CURLOPT_DNS_SHUFFLE_ADDRESSES to explicitly request shuffling of IP addresses returned for a hostname when there is more than one. This is useful when the application knows that a round robin approach is appropriate and is willing to accept the consequences of potentially discarding some preference order returned by the system's implementation. Closes #1694
* add_handle/easy_perform: clear errorbuffer on start if setDaniel Stenberg2018-03-171-5/+7
| | | | | | | | | | To offer applications a more defined behavior, we clear the buffer as early as possible. Assisted-by: Jay Satiro Fixes #2190 Closes #2377
* CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocolLawrence Matthews2018-03-175-0/+72
| | | | | | Add --haproxy-protocol for the command line tool Closes #2162
* curl_version_info.3: fix ssl_version descriptionDaniel Stenberg2018-03-171-3/+4
| | | | | Reported-by: Vincas Razma Fixes #2364
* examples/hiperfifo.c: improvedPhilip Prindeville2018-03-161-64/+76
| | | | | | | | | | | | | | | | * use member struct event’s instead of pointers to alloc’d struct events * simplify the cases for the mcode_or_die() function via macros; * make multi_timer_cb() actually do what the block comment says it should; * accept a “stop” command on the FIFO to shut down the service; * use cleaner notation for unused variables than the (void) hack; * allow following redirections (304’s);
* cleanup: misc typos in strings and commentsluz.paz2018-03-164-4/+4
| | | | | | Found via `codespell` Closes #2389
* user-agent.d:: mention --proxy-header as wellDaniel Stenberg2018-03-151-2/+2
| | | | Bug: https://github.com/curl/curl/issues/2381
* SECURITY-PROCESS: mention how we write/add advisoriesDaniel Stenberg2018-03-141-3/+26
|
* release: 7.59.0curl-7_59_0Daniel Stenberg2018-03-131-1/+7
|
* CURLOPT_COOKIEFILE.3: "-" as file name means stdinDaniel Stenberg2018-03-131-2/+3
| | | | | | | Reported-by: Aron Bergman Bug: https://curl.haxx.se/mail/lib-2018-03/0049.html [ci skip]
* FAQ: fix a broken URL [ci skip]Viktor Szakats2018-03-121-1/+1
|
* credits: Viktor prefers without accentDaniel Stenberg2018-03-121-1/+1
|
* BUGS: updated link to security processDaniel Stenberg2018-03-121-1/+1
|
* docs/SECURITY.md -> docs/SECURITY-PROCESS.mdDaniel Stenberg2018-03-112-2/+2
|
* SECURITY.md: call it the security processDaniel Stenberg2018-03-111-4/+4
|
* SECURITY: distros' max embargo time is 14 days nowDaniel Stenberg2018-03-091-1/+1
|
* THANKS + mailmap: remove duplicates, fixup full namesDaniel Stenberg2018-03-051-1/+0
|
* RELEASE-NOTES/THANKS: synced with cc1d4c505Daniel Stenberg2018-03-041-0/+15
|
* curl.1: mention how to add numerical IP addresses in NO_PROXYDaniel Stenberg2018-03-041-3/+6
|
* CURLOPT_NOPROXY.3: mention how to list numerical IPv6 addressesDaniel Stenberg2018-03-041-1/+6
|
* build: get CFLAGS (including -werror) used for examples and testsDaniel Stenberg2018-03-041-1/+4
| | | | | | ... so that the CI and more detects compiler warnings/errors properly! Closes #2337
* docs/MANUAL: formfind.pl is not accessible on the site anymoreDaniel Stenberg2018-02-261-2/+1
| | | | Fixes #2342
* spelling fixesViktor Szakats2018-02-237-8/+8
| | | | | | | | Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
* TODO: remove "sha-256 digest", added in 2b5b37cb9109e7c2Daniel Stenberg2018-02-231-10/+0
|
* curl_share_setopt.3: connection cache is shared within multi handlesDaniel Stenberg2018-02-231-3/+6
|
* form.d: rephrased somewhat, added two example command linesDaniel Stenberg2018-02-221-16/+26
|
* url: Add option CURLOPT_RESOLVER_START_FUNCTIONFrancisco Sedano2018-02-215-0/+154
| | | | | | | | | | | | - Add new option CURLOPT_RESOLVER_START_FUNCTION to set a callback that will be called every time before a new resolve request is started (ie before a host is resolved) with a pointer to backend-specific resolver data. Currently this is only useful for ares. - Add new option CURLOPT_RESOLVER_START_DATA to set a user pointer to pass to the resolver start callback. Closes https://github.com/curl/curl/pull/2311
* lib: CURLOPT_HAPPY_EYEBALLS_TIMEOUT => CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MSJay Satiro2018-02-214-8/+8
| | | | | | | | | | | | | | | | - In keeping with the naming of our other connect timeout options rename CURLOPT_HAPPY_EYEBALLS_TIMEOUT to CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS. This change adds the _MS suffix since the option expects milliseconds. This is more intuitive for our users since other connect timeout options that expect milliseconds use _MS such as CURLOPT_TIMEOUT_MS, CURLOPT_CONNECTTIMEOUT_MS, CURLOPT_ACCEPTTIMEOUT_MS. The tool option already uses an -ms suffix, --happy-eyeballs-timeout-ms. Follow-up to 2427d94 which added the lib and tool option yesterday. Ref: https://github.com/curl/curl/pull/2260
* RELEASE-NOTES: synced with 2427d94c6Daniel Stenberg2018-02-211-0/+1
|