summaryrefslogtreecommitdiff
path: root/docs/libcurl
Commit message (Collapse)AuthorAgeFilesLines
* hsts: add read/write callbacksDaniel Stenberg2020-11-038-0/+314
| | | | | | | | - read/write callback options - man pages for the 4 new setopts - test 1915 verifies the callbacks Closes #5896
* hsts: add support for Strict-Transport-SecurityDaniel Stenberg2020-11-036-0/+153
| | | | | | | | | | | | | | | | | | | | | | | | | - enable in the build (configure) - header parsing - host name lookup - unit tests for the above - CI build - CURL_VERSION_HSTS bit - curl_version_info support - curl -V output - curl-config --features - CURLOPT_HSTS_CTRL - man page for CURLOPT_HSTS_CTRL - curl --hsts (sets CURLOPT_HSTS_CTRL and works with --libcurl) - man page for --hsts - save cache to disk - load cache from disk - CURLOPT_HSTS - man page for CURLOPT_HSTS - added docs/HSTS.md - fixed --version docs - adjusted curl_easy_duphandle Closes #5896
* CURLOPT_DNS_USE_GLOBAL_CACHE.3: fix typoJay Satiro2020-10-261-1/+1
| | | | | | Reported-by: Rui LIU Closes https://github.com/curl/curl/issues/6131
* alt-svc: enable by defaultDaniel Stenberg2020-10-253-17/+1
| | | | | | | | Remove CURLALTSVC_IMMEDIATELY, which was never implemented/supported. alt-svc support in curl is no longer considered experimental Closes #5868
* curl_url_set.3: fix typo in the RETURN VALUE sectionDaniel Stenberg2020-10-181-1/+1
| | | | | Reported-by: Basuke Suzuki Fixes #6102
* CURLOPT_NOBODY.3: fix typoDaniel Stenberg2020-10-161-1/+1
| | | | | Reported-by: Basuke Suzuki Fixes #6097
* CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as wellDaniel Stenberg2020-10-161-9/+8
|
* CURLOPT_TCP_NODELAY.3: fix comment in example codeZenju2020-10-161-1/+1
| | | | Closes #6096
* docs/opts: fix typos in two manual pagesSamanta Navarro2020-10-032-2/+2
| | | | Closes #6039
* setopt: return CURLE_BAD_FUNCTION_ARGUMENT on bad argumentDaniel Stenberg2020-09-221-0/+3
| | | | | | | Fixed two return code mixups. CURLE_UNKNOWN_OPTION is saved for when the option is, yeah, not known. Clarified this in the setopt man page too. Closes #5993
* man pages: switch to https://example.com URLsDaniel Stenberg2020-09-17125-129/+129
| | | | | | | Since HTTPS is "the new normal", this update changes a lot of man page examples to use https://example.com instead of the previous "http://..." Closes #5969
* curl_mime_headers.3: fix the example's use of curl_slist_appendDaniel Stenberg2020-09-081-2/+2
| | | | | | Reported-by: sofaboss on github Fixes #5942 Closes #5943
* tls: add CURLOPT_SSL_EC_CURVES and --curvesMichael Baentsch2020-08-304-0/+58
| | | | Closes #5892
* TLS: fix SRP detection by using the proper #ifdefsDaniel Stenberg2020-08-281-1/+2
| | | | | | | | | | | | | | | USE_TLS_SRP will be true if *any* selected TLS backend can use SRP HAVE_OPENSSL_SRP is defined when OpenSSL can use it HAVE_GNUTLS_SRP is defined when GnuTLS can use it Clarify in the curl_verison_info docs that CURL_VERSION_TLSAUTH_SRP is set if at least one of the supported backends offers SRP. Reported-by: Stefan Strogin Fixes #5865 Closes #5870
* docs: non-existing macros in man pagesAlessandro Ghedini2020-08-272-3/+3
| | | | | | | | As reported by man(1) when invoked as: man --warnings -E UTF-8 -l -Tutf8 -Z <file> >/dev/null Closes #5846
* docs/libcurl: update "Added in" version for curl_easy_option*Daniel Stenberg2020-08-273-6/+6
| | | | Follow-up to 6ebe63fac23f38
* options: API for meta-data about easy optionsDaniel Stenberg2020-08-275-8/+186
| | | | | | | | | | | | | | | | const struct curl_easyoption *curl_easy_option_by_name(const char *name); const struct curl_easyoption *curl_easy_option_by_id (CURLoption id); const struct curl_easyoption * curl_easy_option_next(const struct curl_easyoption *prev); The purpose is to provide detailed enough information to allow for example libcurl bindings to get option information at run-time about what easy options that exist and what arguments they expect. Assisted-by: Jeroen Ooms Closes #5365
* sftp: add the option CURLKHSTAT_FINE_REPLACEMichael Musset2020-08-242-2/+10
| | | | | | Replace the old fingerprint of the host with a new. Closes #5685
* sftp: add new quote commands 'atime' and 'mtime'COFFEETALES2020-08-241-0/+8
| | | | Closes #5810
* CURLE_PROXY: new error codeDaniel Stenberg2020-08-244-1/+145
| | | | | | | | | | | | Failures clearly returned from a (SOCKS) proxy now causes this return code. Previously the situation was not very clear as what would be returned and when. In addition: when this error code is returned, an application can use CURLINFO_PROXY_ERROR to query libcurl for the detailed error, which then returns a value from the new 'CURLproxycode' enum. Closes #5770
* KNOWN_BUGS: 'no_proxy' string-matches IPv6 numerical addresesDaniel Stenberg2020-08-231-1/+5
| | | | | | | | | Also: the current behavior is now documented in the curl.1 and CURLOPT_NOPROXY.3 man pages. Reported-by: Andrew Barnes Closes #5745 Closes #5841
* docs: clarify MAX_SEND/RECV_SPEED functionalityDaniel Stenberg2020-08-152-4/+17
| | | | | | | | | ... in particular what happens if the maximum speed limit is set to a value that's smaller than the transfer buffer size in use. Reported-by: Tomas Berger Fixes #5788 Closes #5813
* copyright: update/correct the year range on a few filesDaniel Stenberg2020-08-141-1/+1
|
* KNOWN_BUGS: A shared connection cache is not thread-safeDaniel Stenberg2020-08-121-4/+4
| | | | | Closes #4915 Closes #5802
* TLS naming: fix more Winssl and Darwinssl leftoversDaniel Stenberg2020-08-083-4/+4
| | | | | | | | | | | | | The CMake option is now called CMAKE_USE_SCHANNEL The winbuild flag is USE_SCHANNEL The CI jobs and build scripts only use the new names and the new name options Tests now require 'Schannel' (when necessary) Closes #5795
* docs: add date of 7.20 to CURLM_CALL_MULTI_PERFORM mentionsdivinity762020-07-302-2/+2
| | | | | | | | it helps make it obvious that most developers don't have to care about the CURLM_CALL_MULTI_PERFORM value (last release using it is nearly 11 years old, November 4 2009) Closes #5744
* CURLOPT_NOBODY.3: fix the syntax for referring to optionsDaniel Stenberg2020-07-271-3/+3
| | | | | | As test 1140 fails otherwise! Follow-up to e1bac81cc815
* CURLOPT_NOBODY.3: clarify what setting to 0 meansDaniel Stenberg2020-07-271-6/+16
| | | | | | | ... and mention that HTTP with other methods than HEAD might get a body and there's no option available to stop that. Closes #5729
* docs: Update a few leftover mentions of DarwinSSLDaniel Gustafsson2020-07-163-5/+5
| | | | | | | | | Commit 76a9c3c4be10b3d4d379d5b23ca76806bbae536a renamed DarwinSSL to the more correct/common name Secure Transport, but a few mentions in the docs remained. Closes #5688 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* CURL_PUSH_ERROROUT: allow the push callback to fail the parent streamDaniel Stenberg2020-07-162-0/+4
| | | | | | | | | ... by adding support for a new dedicated return code. Suggested-by: Jonathan Cardoso Assisted-by: Erik Johansson URL: https://curl.haxx.se/mail/lib-2020-06/0099.html Closes #5636
* CURLINFO_EFFECTIVE_METHOD: addedDaniel Stenberg2020-07-144-0/+73
| | | | | | | Provide the HTTP method that was used on the latest request, which might be relevant for users when there was one or more redirects involved. Closes #5511
* windows: add unicode to feature listViktor Szakats2020-07-142-0/+4
| | | | | | | Reviewed-by: Marcel Raad Reviewed-by: Marc Hörsken Closes #5491
* content_encoding: add zstd decoding supportGilles Vollant2020-07-123-4/+15
| | | | | | | | | include zstd curl patch for Makefile.m32 from vszakats and include Add CMake support for zstd from Peter Wu Helped-by: Viktor Szakats Helped-by: Peter Wu Closes #5453
* CURLINFO_CERTINFO.3: fix typoFilip Salomonsson2020-07-061-2/+2
| | | | Closes https://github.com/curl/curl/pull/5655
* curl_version_info.3: CURL_VERSION_KERBEROS4 is deprecatedDaniel Stenberg2020-07-031-1/+1
| | | | | | | This came up in #5640. It make sense to clarify this in the docs! Reminded-by: Kamil Dudka Closes #5642
* terminology: call them null-terminated stringsDaniel Stenberg2020-06-2883-94/+94
| | | | | | | | | | | Updated terminology in docs, comments and phrases to refer to C strings as "null-terminated". Done to unify with how most other C oriented docs refer of them and what users in general seem to prefer (based on a single highly unscientific poll on twitter). Reported-by: coinhubs on github Fixes #5598 Closes #5608
* CURLOPT_READFUNCTION.3: provide the upload data size up frontDaniel Stenberg2020-06-261-1/+6
| | | | | Assisted-by: Jay Satiro Closes #5607
* openssl: Don't ignore CA paths when using Windows CA storeJay Satiro2020-06-221-2/+3
| | | | | | | | | | | | | This commit changes the behavior of CURLSSLOPT_NATIVE_CA so that it does not override CURLOPT_CAINFO / CURLOPT_CAPATH, or the hardcoded default locations. Instead the CA store can now be used at the same time. The change is due to the impending release. The issue is still being discussed. The behavior of CURLSSLOPT_NATIVE_CA is subject to change and is now documented as experimental. Ref: bc052cc (parent commit) Ref: https://github.com/curl/curl/issues/5585
* ABI.md: rename to .md and polish the markdownDaniel Stenberg2020-06-122-19/+14
| | | | Closes #5562
* wording: avoid blacklist/whitelist stereotypesDaniel Stenberg2020-06-105-21/+21
| | | | | | | | Instead of discussing if there's value or meaning (implied or not) in the colors, let's use words without the same possibly negative associations. Closes #5546
* CURLINFO_ACTIVESOCKET.3: clarify the descriptionDaniel Stenberg2020-06-051-9/+11
| | | | | | Reported-by: Jay Satiro Fixes #5299 Closes #5520
* setopt: add CURLOPT_PROXY_ISSUERCERT(_BLOB) for coherencyGilles Vollant2020-05-235-0/+166
| | | | Closes #5431
* setopt: support certificate options in memory with struct curl_blobGilles Vollant2020-05-159-4/+395
| | | | | | | | | | | | | This change introduces a generic way to provide binary data in setopt options, called BLOBs. This change introduces these new setopts: CURLOPT_ISSUERCERT_BLOB, CURLOPT_PROXY_SSLCERT_BLOB, CURLOPT_PROXY_SSLKEY_BLOB, CURLOPT_SSLCERT_BLOB and CURLOPT_SSLKEY_BLOB. Reviewed-by: Daniel Stenberg Closes #5357
* OpenSSL: have CURLOPT_CRLFILE imply CURLSSLOPT_NO_PARTIALCHAINDaniel Stenberg2020-05-131-5/+8
| | | | | | | | ... to avoid an OpenSSL bug that otherwise makes the CRL check to fail. Reported-by: Michael Kaufmann Fixes #5374 Closes #5376
* CURLOPT_SSL_OPTIONS: add *_NATIVE_CA to use Windows CA store (with openssl)Gilles Vollant2020-05-082-0/+5
| | | | Closes #4346
* doc: add missing closing parenthesis in CURLINFO_SSL_VERIFYRESULT.3Emil Engler2020-05-021-1/+1
| | | | Closes #5320
* GnuTLS: Backend support for CURLINFO_SSL_VERIFYRESULTEmil Engler2020-04-301-1/+1
| | | | Closes #5287
* copyright updates: adjust year rangesDaniel Stenberg2020-04-261-1/+1
|
* libcurl-multi.3: added missing full stopi-ky2020-04-231-1/+1
| | | | Closes #5285
* mqtt: add new experimental protocolBjorn Stenberg2020-04-142-1/+2
| | | | Closes #5173