summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* darwinssl: add support for TLSv1.3Nick Zitzmann2017-10-051-1/+2
| | | | Closes https://github.com/curl/curl/pull/1794
* docs: fix typo in curl_mime_data_cb man pageFelix Kaiser2017-10-041-1/+1
| | | | Closes #1946
* RELEASE-PROCEDURE: update the release scheduleDaniel Stenberg2017-10-041-3/+6
|
* THANKS: added new 7.56.0 contributorsDaniel Stenberg2017-10-041-6/+24
|
* libcurl-tutorial: add casts in example to avoid compilation warnings.Patrick Monnerat2017-10-031-1/+2
|
* examples: bring back curl_formadd-using examplesDaniel Stenberg2017-10-033-1/+279
| | | | | | ... now with a -formadd suffix. While the new mime API is introduced in 7.56.0 we must acknowledge that lots of users can't upgrade their curl versions immediately.
* libcurl-tutorial: fix two typos.Patrick Monnerat2017-10-021-3/+3
|
* TODO: remove deprecated form API items.Patrick Monnerat2017-10-011-46/+0
|
* libcurl-tutorial: describe MIME API and deprecate form API.Patrick Monnerat2017-10-011-4/+261
| | | | Include a guide to form/mime API conversion.
* docs: link CURLOPT_CONNECTTIMEOUT and CURLOPT_CONNECTTIMEOUT_MSMichael Kaufmann2017-09-282-0/+8
| | | | Closes #1922
* docs: clarify the use of environment variables for proxyMichael Kaufmann2017-09-282-1/+7
| | | | Closes #1921
* symbols-in-versions: fix CURLSSLSET_NO_BACKENDS entryJay Satiro2017-09-231-1/+1
| | | | | | | - Use spaces instead of tabs as the delimiter. Follow up to 7c52b12 which added the entry. The entry had used tabs but the symbol-scan parser doesn't recognize tabs and would fail the symbol.
* symbols-in-versions: add CURLSSLSET_NO_BACKENDSDaniel Stenberg2017-09-221-1/+2
| | | | ...fixup from b8e0fe19ec
* vtls: provide curl_global_sslset() even in non-SSL buildsDaniel Stenberg2017-09-221-2/+5
| | | | | | | | | ... it just returns error: Bug: https://github.com/curl/curl/commit/1328f69d53f2f2e937696ea954c480412b018451#commitcomment-24470367 Reported-by: Marcel Raad Closes #1906
* form/mime: field names are not allowed to contain zero-valued bytes.Patrick Monnerat2017-09-2212-41/+36
| | | | | Also suppress length argument of curl_mime_name() (names are always zero-terminated).
* examples/post-callback: use long for CURLOPT_POSTFIELDSIZEMarcel Raad2017-09-211-1/+1
| | | | Otherwise, typecheck-gcc.h warns on MinGW-w64.
* docs: clarify the CURLOPT_INTERLEAVE* options behaviorDaniel Stenberg2017-09-152-5/+10
|
* code style: use space after semicolonDaniel Stenberg2017-09-121-1/+1
|
* code style: use spaces around plusesDaniel Stenberg2017-09-1117-70/+80
|
* code style: use spaces around equals signsDaniel Stenberg2017-09-1130-227/+231
|
* mbedtls: enable CA path processingJay Satiro2017-09-102-4/+6
| | | | | | | | CA path processing was implemented when mbedtls.c was added to libcurl in fe7590f, but it was never enabled. Bug: https://github.com/curl/curl/issues/1877 Reported-by: SBKarr@users.noreply.github.com
* KNOWN_BUGS: Remove CMake symbol hiding issueJakub Zakrzewski2017-09-071-1/+0
| | | | It has already been fixed in 6140dfc
* HISTORY: added some recent itemsDaniel Stenberg2017-09-071-0/+18
|
* mime: implement encoders.Patrick Monnerat2017-09-054-2/+114
| | | | | | | | curl_mime_encoder() is operational and documented. curl tool -F option is extended with ";encoder=". curl tool --libcurl option generates calls to curl_mime_encoder(). New encoder tests 648 & 649. Test 1404 extended with an encoder specification.
* docs/curl_mime_*.3: use correct variable types in examplesDaniel Stenberg2017-09-057-14/+14
|
* examples/mime: minor example code fixesViktor Szakats2017-09-056-11/+11
|
* docs/curl_mime_*.3: added examplesDaniel Stenberg2017-09-059-2/+128
|
* MAIL-ETIQUETTE: added "1.9 Your emails are public"Daniel Stenberg2017-09-051-5/+26
|
* docs: Update to secure URL versionsViktor Szakats2017-09-042-3/+3
|
* mime: use CURL_ZERO_TERMINATED in examplesViktor Szakats2017-09-045-16/+16
| | | | and some minor whitespace fixes
* examples/post-callback: stop returning one byte at a timeDaniel Stenberg2017-09-041-23/+32
| | | | | | | | ... since people copy and paste code from this example and thus they get an inefficient POST operation without a good reason and sometimes without understanding why. Instead this now returns as much data as possible.
* docs: curl_mime_*.3 man page formatting editsDaniel Stenberg2017-09-0412-67/+72
|
* mime: use size_t instead of ssize_t in public API interface.Patrick Monnerat2017-09-033-34/+36
| | | | | | | | | To support telling a string is nul-terminated, symbol CURL_ZERO_TERMINATED has been introduced. Documentation updated accordingly. symbols in versions updated. Added form API symbols deprecation info.
* mime: remove support "-" stdin pseudo-file name in curl_mime_filedata().Patrick Monnerat2017-09-032-1/+3
| | | | | | | | | | | | | | | This feature is badly supported in Windows: as a replacement, a caller has to use curl_mime_data_cb() with fread, fseek and possibly fclose callbacks to process opened files. The cli tool and documentation are updated accordingly. The feature is however kept internally for form API compatibility, with the known caveats it always had. As a side effect, stdin size is not determined by the cli tool even if possible and this results in a chunked transfer encoding. Test 173 is updated accordingly.
* mime: tests and examples.Patrick Monnerat2017-09-024-64/+215
| | | | | | | | | | Additional mime-specific tests. Existing tests updated to reflect small differences (Expect: 100-continue, data size change due to empty lines, etc). Option -F headers= keyword added to tests. test1135 disabled until the entry point order change is resolved. New example smtp-mime. Examples postit2 and multi-post converted from form API to mime API.
* mime: use in curl cli tool instead of form API.Patrick Monnerat2017-09-022-9/+61
| | | | | | Extended -F option syntax to support multipart mail messages. -F keyword headers= added to include custom headers in parts. Documentation upgraded.
* mime: new MIME API.Patrick Monnerat2017-09-0220-13/+784
| | | | | | | Available in HTTP, SMTP and IMAP. Deprecates the FORM API. See CURLOPT_MIMEPOST. Lib code and associated documentation.
* curl_global_sslset: select backend by name case insensitivelyDaniel Stenberg2017-09-011-2/+2
| | | | Closes #1849
* 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
|