summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* curl_global_sslset.3: show the struct and enum tooDaniel Stenberg2017-08-311-4/+25
| | | | | ... so that users can actually write code based on the man page alone, not having to read the header file.
* examples/sslbackend.c: fix failure of 'make checksrc'Kamil Dudka2017-08-301-2/+4
| | | | | | | | | ./sslbackend.c:58:3: warning: else after closing brace on same line (BRACEELSE) } else if(isdigit(*name)) { ^ ./sslbackend.c:62:3: warning: else after closing brace on same line (BRACEELSE) } else ^
* curl_global_sslset.3: clarifyDaniel Stenberg2017-08-301-15/+19
| | | | | | | | | | | | it is a one time *set*, not necessarily a one time use... it can be called again if the first call failed or just listed the alternatives. clarify that the available backends are the ones this build supports plus add some formatting Reported-by: Rich Gray Bug: https://curl.haxx.se/mail/lib-2017-08/0119.html
* HELP-US.md: spellingDaniel Stenberg2017-08-291-2/+2
|
* HELP-US.md: "How to get started helping out in the curl project"Daniel Stenberg2017-08-292-1/+71
| | | | Closes #1837
* curl_global_init.3: mention curl_global_sslset(3)Daniel Stenberg2017-08-281-1/+2
|
* version: add the CURL_VERSION_MULTI_SSL feature flagJohannes Schindelin2017-08-282-1/+6
| | | | | | | This new feature flag reports When cURL was built with multiple SSL backends. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* docs/examples: demonstrate how to select SSL backendsJohannes Schindelin2017-08-284-1/+80
| | | | | | | The newly-introduced curl_global_sslset() function deserves to be show-cased. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add a man page for curl_global_sslset()Johannes Schindelin2017-08-283-1/+74
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* vtls: introduce curl_global_sslset()Johannes Schindelin2017-08-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's add a compile time safe API to select an SSL backend. This function needs to be called *before* curl_global_init(), and can be called only once. Side note: we do not explicitly test that it is called before curl_global_init(), but we do verify that it is not called multiple times (even implicitly). If SSL is used before the function was called, it will use whatever the CURL_SSL_BACKEND environment variable says (or default to the first available SSL backend), and if a subsequent call to curl_global_sslset() disagrees with the previous choice, it will fail with CURLSSLSET_TOO_LATE. The function also accepts an "avail" parameter to point to a (read-only) NULL-terminated list of available backends. This comes in real handy if an application wants to let the user choose between whatever SSL backends the currently available libcurl has to offer: simply call curl_global_sslset(-1, NULL, &avail); which will return CURLSSLSET_UNKNOWN_BACKEND and populate the avail variable to point to the relevant information to present to the user. Just like with the HTTP/2 push functions, we have to add the function declaration of curl_global_sslset() function to the header file *multi.h* because VMS and OS/400 require a stable order of functions declared in include/curl/*.h (where the header files are sorted alphabetically). This looks a bit funny, but it cannot be helped. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* examples/threaded-ssl: mention that this is for openssl before 1.1Daniel Stenberg2017-08-251-2/+2
|
* CURLOPT_USERPWD.3: see also CURLOPT_PROXYUSERPWDDaniel Stenberg2017-08-241-0/+1
|
* request-target.d: mention added in 7.55.0Daniel Stenberg2017-08-221-0/+1
|
* KNOWN_BUGS: HTTP test server 'connection-monitor' problemsDaniel Stenberg2017-08-181-0/+8
| | | | Closes #868
* CURLOPT_SSH_COMPRESSION.3: enable with 1LDaniel Stenberg2017-08-171-4/+4
| | | | (leaves other values reserved for the future)
* compressed-ssh.d: "Added: 7.56.0"Daniel Stenberg2017-08-171-0/+1
|
* ssh: add the ability to enable compression (for SCP/SFTP)Viktor Szakats2017-08-176-1/+70
| | | | | | | | | | | | | | | | | | The required low-level logic was already available as part of `libssh2` (via `LIBSSH2_FLAG_COMPRESS` `libssh2_session_flag()`[1] option.) This patch adds the new `libcurl` option `CURLOPT_SSH_COMPRESSION` (boolean) and the new `curl` command-line option `--compressed-ssh` to request this `libssh2` feature. To have compression enabled, it is required that the SSH server supports a (zlib) compatible compression method and that `libssh2` was built with `zlib` support enabled. [1] https://www.libssh2.org/libssh2_session_flag.html Ref: https://github.com/curl/curl/issues/1732 Closes https://github.com/curl/curl/pull/1735
* examples/ftpuploadresume: checksrc complianceJay Satiro2017-08-161-1/+2
|
* progress: Track total times following redirectsRyan Winograd2017-08-151-7/+0
| | | | | | | | | | | | | | | | | | | | | | Update the progress timers `t_nslookup`, `t_connect`, `t_appconnect`, `t_pretransfer`, and `t_starttransfer` to track the total times for these activities when a redirect is followed. Previously, only the times for the most recent request would be tracked. Related changes: - Rename `Curl_pgrsResetTimesSizes` to `Curl_pgrsResetTransferSizes` now that the function only resets transfer sizes and no longer modifies any of the progress timers. - Add a bool to the `Progress` struct that is used to prevent double-counting `t_starttransfer` times. Added test case 1399. Fixes #522 and Known Bug 1.8 Closes #1602 Reported-by: joshhe on github
* zsh.pl: produce a working completion script againKamil Dudka2017-08-151-1/+1
| | | | | | | | | | | Commit curl-7_54_0-118-g8b2f22e changed the output format of curl --help to use <file> and <dir> instead of FILE and DIR, which caused zsh.pl to produce a broken completion script: % curl --<TAB> _curl:10: no such file or directory: seconds Closes #1779
* examples/ftpuploadresume.c: use portable codeDaniel Stenberg2017-08-142-26/+14
| | | | ... converted from the MS specific _snscanf()
* RELEASE-NOTES/THANKS: curl 7.55.1 release timecurl-7_55_1Daniel Stenberg2017-08-131-0/+8
|
* connect-to.d: better languageDaniel Stenberg2017-08-121-2/+2
|
* connect-to.d: clarifiedDaniel Stenberg2017-08-121-9/+12
|
* docs: fix typo funtion -> functionAlessandro Ghedini2017-08-121-1/+1
| | | | Closes #1770
* docs: fix grammar in CURL_SSLVERSION_MAX_DEFAULT descriptionAlessandro Ghedini2017-08-122-6/+6
|
* docs: fix typo stuct -> structAlessandro Ghedini2017-08-122-2/+2
|
* make install: add 8 missing man pages to the installationDaniel Stenberg2017-08-092-1/+8
|
* THANKS: 20 new contributors in 7.55.0Daniel Stenberg2017-08-092-0/+21
|
* docs/comments: Update to secure URL versionsViktor Szakats2017-08-088-13/+13
| | | | Closes #1741
* CURLOPT_NETRC.3: fix typo in 7e48aa386156f9c2Daniel Stenberg2017-08-021-2/+2
| | | | Reported-by: Viktor Szakats
* CURLOPT_NETRC.3: mention the file name on windowsDaniel Stenberg2017-08-021-2/+4
| | | | ... and CURLOPT_NETRC_FILE(3).
* BUGS: improved phrasing about security bugsDaniel Stenberg2017-08-011-3/+3
| | | | Reported-by: Max Dymond
* BUGS: clarify how to report security related bugsDaniel Stenberg2017-08-011-15/+32
|
* include.d: clarify --include is only for response headersJay Satiro2017-07-301-1/+1
| | | | | | | Follow-up to 171f8de and de6de94. Bug: https://github.com/curl/curl/commit/de6de94#commitcomment-23370851 Reported-by: Daniel Stenberg
* include.d: clarify that it concerns the response headersDaniel Stenberg2017-07-281-2/+5
| | | | | Reported-by: olesteban at github Fixes #1704
* CURLOPT_POSTFIELDS.3: explain the 100-continue magic betterDaniel Stenberg2017-07-071-3/+5
|
* curl_easy_escape.3: mention the (lack of) encodingDaniel Stenberg2017-07-071-1/+10
| | | | | Fixes #1612 Reported-by: Jeroen Ooms
* TODO: 1.10 auto-detect proxyDaniel Stenberg2017-07-051-0/+13
| | | | Closes #1572
* TODO: HTTP proxy CONNECT is non-blocking nowDaniel Stenberg2017-07-051-1/+0
|
* make: build the docs subdir only from within srcDaniel Stenberg2017-06-301-2/+2
| | | | | | | | ... and don't build at all in include Prompted-by-work-by: Simon Warta Ref: #1590 Closes #1591
* curl_strequal.3: fix typo in SYNOPSISDaniel Stenberg2017-06-291-2/+2
| | | | | | Reported-by: Jesse Chisholm Fixes #1623
* curl --socks5-{basic,gssapi}: control socks5 authKamil Dudka2017-06-283-0/+16
| | | | Closes https://github.com/curl/curl/pull/1454
* CURLOPT_SOCKS5_AUTH: allowed methods for SOCKS5 proxy authKamil Dudka2017-06-283-0/+67
| | | | | | | | | | | | | | | | | | If libcurl was built with GSS-API support, it unconditionally advertised GSS-API authentication while connecting to a SOCKS5 proxy. This caused problems in environments with improperly configured Kerberos: a stock libcurl failed to connect, despite libcurl built without GSS-API connected fine using username and password. This commit introduces the CURLOPT_SOCKS5_AUTH option to control the allowed methods for SOCKS5 authentication at run time. Note that a new option was preferred over reusing CURLOPT_PROXYAUTH for compatibility reasons because the set of authentication methods allowed by default was different for HTTP and SOCKS5 proxies. Bug: https://curl.haxx.se/mail/lib-2017-01/0005.html Closes https://github.com/curl/curl/pull/1454
* CURLINFO_REDIRECT_URL.3: mention the CURLOPT_MAXREDIRS caseDaniel Stenberg2017-06-241-0/+3
| | | | ... supported since 7.54.1
* CONTRIBUTE.md: mention the out-of-tree build test tooDaniel Stenberg2017-06-221-5/+6
|
* --request-target: instead of --strip-path-slashDaniel Stenberg2017-06-219-21/+22
| | | | | | | | | | | | | | ... and CURLOPT_REQUEST_TARGET instead of CURLOPT_STRIP_PATH_SLASH. This option instead provides the full "alternative" target to use in the request, instead of extracting the path from the URL. Test 1298 and 1299 updated accordingly. Idea-by: Evert Pot Suggestion: https://daniel.haxx.se/blog/2017/06/19/options-with-curl/comment-page-1/#comment-18373 Closes #1593
* http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASHDaniel Stenberg2017-06-199-23/+74
| | | | | | | | | | | ... to enable sending "OPTIONS *" which wasn't possible previously. This option currently only works for HTTP. Added test cases 1298 + 1299 to verify Fixes #1280 Closes #1462
* getinfo: return sizes as curl_off_tDaniel Stenberg2017-06-1914-20/+429
| | | | | | | | | | | | | | | This change introduces new alternatives for the existing six curl_easy_getinfo() options that return sizes or speeds as doubles. The new versions are named like the old ones but with an appended '_T': CURLINFO_CONTENT_LENGTH_DOWNLOAD_T CURLINFO_CONTENT_LENGTH_UPLOAD_T CURLINFO_SIZE_DOWNLOAD_T CURLINFO_SIZE_UPLOAD_T CURLINFO_SPEED_DOWNLOAD_T CURLINFO_SPEED_UPLOAD_T Closes #1511
* CURLOPT_PREQUOTE.3: spellfix man page referenceDaniel Stenberg2017-06-181-1/+1
|