summaryrefslogtreecommitdiff
path: root/docs/libcurl
Commit message (Collapse)AuthorAgeFilesLines
* make: use the variable MAKE for recursive callsMaksim Stsepanenka2017-03-291-2/+2
| | | | Closes #1366
* spelling fixesklemens2017-03-261-2/+2
| | | | Closes #1356
* CURLINFO_PRIMARY_IP.3: add exampleDaniel Stenberg2017-03-221-2/+20
|
* mbedtls: add support for CURLOPT_SSL_CTX_FUNCTIONAles Mlakar2017-03-211-9/+12
| | | | | | Ref: https://curl.haxx.se/mail/lib-2017-02/0097.html Closes https://github.com/curl/curl/pull/1272
* cmake: add support for building HTML and PDF docsPeter Wu2017-03-212-0/+67
| | | | | | | | | | | | Note that for some reason there is this warning (that also exists with autotools, added since curl-7_15_1-94-ga718cb05f): docs/libcurl/curl_multi_socket_all.3:1: can't open `man3/curl_multi_socket.3': No such file or directory Additionally, adjust the roffit --mandir option to support creating links when doing out-of-tree builds. Ref: https://github.com/curl/curl/pull/1288
* docs: split file lists into Makefile.incPeter Wu2017-03-214-329/+335
| | | | | | | For easier sharing with CMake. The contents were reformatted to use two-space indent and expanded tabs (matching lib/Makefile.common). Ref: https://github.com/curl/curl/pull/1288
* CURLINFO_LOCAL_PORT.3: fix typoJay Satiro2017-03-161-1/+1
|
* CURLINFO_LOCAL_PORT.3: added exampleDaniel Stenberg2017-03-161-2/+24
|
* url: add option CURLOPT_SUPPRESS_CONNECT_HEADERSDesmond O. Chang2017-03-126-0/+105
| | | | | | | | | | | | | | - Add new option CURLOPT_SUPPRESS_CONNECT_HEADERS to allow suppressing proxy CONNECT response headers from the user callback functions CURLOPT_HEADERFUNCTION and CURLOPT_WRITEFUNCTION. - Add new tool option --suppress-connect-headers to expose CURLOPT_SUPPRESS_CONNECT_HEADERS and allow suppressing proxy CONNECT response headers from --dump-header and --include. Assisted-by: Jay Satiro Assisted-by: CarloCannas@users.noreply.github.com Closes https://github.com/curl/curl/pull/783
* vtls: add options to specify range of enabled TLS versionsJozef Kralik2017-03-083-3/+45
| | | | | | | This commit introduces the CURL_SSLVERSION_MAX_* constants as well as the --tls-max option of the curl tool. Closes https://github.com/curl/curl/pull/1166
* gitignore: Ignore man page dist filesSteve Brokenshire2017-03-071-0/+1
| | | | Ignore man page dist files generated by scripts/updatemanpages.pl
* Makefile.am: Remove distribution man pages when running 'make clean'Steve Brokenshire2017-03-072-3/+8
|
* CURLOPT_SSL_CTX_FUNCTION.3: Fix EXAMPLE formatting errorsJay Satiro2017-03-042-18/+26
| | | | | | .. also document that CURLE_NOT_BUILT_IN is a RETURN VALUE. Ref: https://github.com/curl/curl/pull/1290
* fix some typos in the doc (#1306)Sylvestre Ledru2017-03-041-1/+1
|
* darwinssl: Warn that disabling host verify also disables SNIJDepooter2017-03-021-3/+10
| | | | | | | | In DarwinSSL the SSLSetPeerDomainName function is used to enable both sending SNI and verifying the host. When host verification is disabled the function cannot be called, therefore SNI is disabled as well. Closes https://github.com/curl/curl/pull/1240
* docs: de-duplicate file lists in the MakefilesPeter Wu2017-02-252-661/+5
| | | | | | | | Make use of macro substitution of suffix patterns to remove duplication of manual names. This approach is portable according to http://pubs.opengroup.org/onlinepubs/009695399/utilities/make.html Closes https://github.com/curl/curl/pull/1287
* url: Improve CURLOPT_PROXY_CAPATH error handlingJay Satiro2017-02-212-4/+14
| | | | | | | | | | | | | | | - Change CURLOPT_PROXY_CAPATH to return CURLE_NOT_BUILT_IN if the option is not supported, which is the same as what we already do for CURLOPT_CAPATH. - Change the curl tool to handle CURLOPT_PROXY_CAPATH error CURLE_NOT_BUILT_IN as a warning instead of as an error, which is the same as what we already do for CURLOPT_CAPATH. - Fix CAPATH docs to show that CURLE_NOT_BUILT_IN is returned when the respective CAPATH option is not supported by the SSL library. Ref: https://github.com/curl/curl/pull/1257
* CURLOPT_SSL_VERIFYPEER.3: also the https proxy versionDaniel Stenberg2017-02-091-1/+3
|
* docs: Add more HTTPS proxy documentationJay Satiro2017-02-062-12/+35
| | | | | | | | | | | | - Document HTTPS proxy type. - Document --write-out %{proxy_ssl_verify_result}. - Document SOCKS proxy + HTTP/HTTPS proxy combination. HTTPS proxy support was added in 7.52.0 for OpenSSL, GnuTLS and NSS. Ref: https://github.com/curl/curl/commit/cb4e2be
* CURLOPT_BUFFERSIZE: support enlarging receive bufferRichy Kim2017-01-193-9/+12
| | | | | | | | | | Replace use of fixed macro BUFSIZE to define the size of the receive buffer. Reappropriate CURLOPT_BUFFERSIZE to include enlarging receive buffer size. Upon setting, resize buffer if larger than the current default size up to a MAX_BUFSIZE (512KB). This can benefit protocols like SFTP. Closes #1222
* docs: non-blocking SSL handshake is now supported with NSSKamil Dudka2017-01-191-1/+0
| | | | | | Implemented since curl-7_36_0-130-g8868a22 Reported-by: Fahim Chandurwala
* unix_socket: add support for abstract unix domain socketIsaac Boukris2017-01-134-0/+64
| | | | | | | | | | | | | | | | | | | | | In addition to unix domain sockets, Linux also supports an abstract namespace which is independent of the filesystem. In order to support it, add new CURLOPT_ABSTRACT_UNIX_SOCKET option which uses the same storage as CURLOPT_UNIX_SOCKET_PATH internally, along with a flag to specify abstract socket. On non-supporting platforms, the abstract address will be interpreted as an empty string and fail gracefully. Also add new --abstract-unix-socket tool parameter. Signed-off-by: Isaac Boukris <iboukris@gmail.com> Reported-by: Chungtsun Li (typeless) Reviewed-by: Daniel Stenberg Reviewed-by: Peter Wu Closes #1197 Fixes #1061
* docs: Add note about libcurl copying strings to CURLOPT_* manpagesFrank Gevaerts2017-01-1374-0/+222
| | | | Closes #1169
* CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char*Frank Gevaerts2017-01-131-1/+2
|
* wolfssl: support setting cipher listDan Fandrich2017-01-061-0/+3
|
* docs/libcurl: TCP_KEEPALIVE start and interval default to 60Jay Satiro2017-01-022-2/+4
| | | | | | | | Since the TCP keep-alive options were added in 705f0f7 the start and interval default values have been 60, but that wasn't documented. Bug: https://curl.haxx.se/mail/lib-2017-01/0000.html Reported-by: Praveen Pvs
* curl_formadd.3: CURLFORM_CONTENTSLENGTH not needed when chunkedDaniel Stenberg2016-12-281-2/+2
| | | | Mentioned in #1013
* docs/ciphers: link to our own new page about ciphersDaniel Stenberg2016-12-251-6/+2
| | | | ... as the former ones always go stale!
* curl_easy_recv: Improve documentation and example programMichael Kaufmann2016-12-183-18/+35
| | | | | | | | | | | Follow-up to 82245ea: Fix the example program sendrecv.c (handle CURLE_AGAIN, handle incomplete send). Improve the documentation for curl_easy_recv() and curl_easy_send(). Reviewed-by: Frank Meier Assisted-by: Jay Satiro See https://github.com/curl/curl/pull/1134
* curl_easy_setopt.3: removed CURLOPT_SOCKS_PROXYTYPEDaniel Stenberg2016-12-171-2/+0
|
* curl_easy_setopt.3: CURLOPT_PRE_PROXY instead of CURLOPT_SOCKS_PROXYDaniel Stenberg2016-12-171-2/+2
|
* symbols: removed two, added oneDaniel Stenberg2016-12-171-3/+2
|
* CURLINFO_SSL_VERIFYRESULT.3: languageDaniel Stenberg2016-12-161-3/+3
|
* HTTPS-PROXY docs: update/polishDaniel Stenberg2016-12-1612-126/+129
|
* preproxy: renamed what was added as SOCKS_PROXYDaniel Stenberg2016-12-162-12/+16
| | | | | | | CURLOPT_SOCKS_PROXY -> CURLOPT_PRE_PROXY Added the corresponding --preroxy command line option. Sets a SOCKS proxy to connect to _before_ connecting to a HTTP(S) proxy.
* CURLOPT_SOCKS_PROXYTYPE: removedDaniel Stenberg2016-12-163-91/+10
| | | | | | This was added as part of the SOCKS+HTTPS proxy merge but there's no need to support this as we prefer to have the protocol specified as a prefix instead.
* curl_multi_socket.3: fix typoDaniel Stenberg2016-12-151-1/+1
|
* libcurl-multi.3: typoJeremy Pearson2016-12-031-1/+1
| | | | Closes https://github.com/curl/curl/pull/1153
* CURLOPT_PROXY_*.3: polished some proxy option man pagesDaniel Stenberg2016-11-273-25/+26
|
* curl_version_info: add CURL_VERSION_HTTPS_PROXYOkhin Vasilij2016-11-262-0/+4
| | | | Closes #1142
* CURLOPT_PROXY_CAINFO.3: clarify proxy useDaniel Stenberg2016-11-251-7/+13
|
* CURLOPT_PROXY_CRLFILE.3: clarify https proxy and availabilityDaniel Stenberg2016-11-251-3/+7
|
* curl_easy_setopt.3: add CURLOPT_PROXY_PINNEDPUBLICKEYDaniel Stenberg2016-11-251-0/+3
| | | | Follow-up to 4f8b17743d7c55a
* docs: include all opts man pages in distDaniel Stenberg2016-11-251-5/+60
| | | | | | Sorted the lists too. ... and include the new ones in the PDF and HTML generation targets
* HTTPS Proxy: Implement CURLOPT_PROXY_PINNEDPUBLICKEYThomas Glanzmann2016-11-252-0/+100
|
* url: proxy: Use 443 as default port for https proxiesThomas Glanzmann2016-11-251-1/+2
|
* add CURLINFO_SCHEME, CURLINFO_PROTOCOL, and %{scheme}Frank Gevaerts2016-11-254-0/+122
| | | | | | | | | | | | | | Adds access to the effectively used protocol/scheme to both libcurl and curl, both in string and numeric (CURLPROTO_*) form. Note that the string form will be uppercase, as it is just the internal string. As these strings are declared internally as const, and all other strings returned by curl_easy_getinfo() are de-facto const as well, string handling in getinfo.c got const-ified. Closes #1137
* HTTPS-proxy: fixed mbedtls and polishingOkhin Vasilij2016-11-2420-42/+40
|
* proxy: Support HTTPS proxy and SOCKS+HTTP(s)Alex Rousskov2016-11-2423-0/+1223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * HTTPS proxies: An HTTPS proxy receives all transactions over an SSL/TLS connection. Once a secure connection with the proxy is established, the user agent uses the proxy as usual, including sending CONNECT requests to instruct the proxy to establish a [usually secure] TCP tunnel with an origin server. HTTPS proxies protect nearly all aspects of user-proxy communications as opposed to HTTP proxies that receive all requests (including CONNECT requests) in vulnerable clear text. With HTTPS proxies, it is possible to have two concurrent _nested_ SSL/TLS sessions: the "outer" one between the user agent and the proxy and the "inner" one between the user agent and the origin server (through the proxy). This change adds supports for such nested sessions as well. A secure connection with a proxy requires its own set of the usual SSL options (their actual descriptions differ and need polishing, see TODO): --proxy-cacert FILE CA certificate to verify peer against --proxy-capath DIR CA directory to verify peer against --proxy-cert CERT[:PASSWD] Client certificate file and password --proxy-cert-type TYPE Certificate file type (DER/PEM/ENG) --proxy-ciphers LIST SSL ciphers to use --proxy-crlfile FILE Get a CRL list in PEM format from the file --proxy-insecure Allow connections to proxies with bad certs --proxy-key KEY Private key file name --proxy-key-type TYPE Private key file type (DER/PEM/ENG) --proxy-pass PASS Pass phrase for the private key --proxy-ssl-allow-beast Allow security flaw to improve interop --proxy-sslv2 Use SSLv2 --proxy-sslv3 Use SSLv3 --proxy-tlsv1 Use TLSv1 --proxy-tlsuser USER TLS username --proxy-tlspassword STRING TLS password --proxy-tlsauthtype STRING TLS authentication type (default SRP) All --proxy-foo options are independent from their --foo counterparts, except --proxy-crlfile which defaults to --crlfile and --proxy-capath which defaults to --capath. Curl now also supports %{proxy_ssl_verify_result} --write-out variable, similar to the existing %{ssl_verify_result} variable. Supported backends: OpenSSL, GnuTLS, and NSS. * A SOCKS proxy + HTTP/HTTPS proxy combination: If both --socks* and --proxy options are given, Curl first connects to the SOCKS proxy and then connects (through SOCKS) to the HTTP or HTTPS proxy. TODO: Update documentation for the new APIs and --proxy-* options. Look for "Added in 7.XXX" marks.
* docs: the next release will be 7.52.0Kamil Dudka2016-11-152-2/+2
|