summaryrefslogtreecommitdiff
path: root/docs/libcurl
Commit message (Collapse)AuthorAgeFilesLines
* Revert all SASL authzid (new feature) commitsJay Satiro2019-05-254-68/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Revert all commits related to the SASL authzid feature since the next release will be a patch release, 7.65.1. Prior to this change CURLOPT_SASL_AUTHZID / --sasl-authzid was destined for the next release, assuming it would be a feature release 7.66.0. However instead the next release will be a patch release, 7.65.1 and will not contain any new features. After the patch release after the reverted commits can be restored by using cherry-pick: git cherry-pick a14d72c a9499ff 8c1cc36 c2a8d52 0edf690 Details for all reverted commits: Revert "os400: take care of CURLOPT_SASL_AUTHZID in curl_easy_setopt_ccsid()." This reverts commit 0edf6907ae37e2020722e6f61229d8ec64095b0a. Revert "tests: Fix the line endings for the SASL alt-auth tests" This reverts commit c2a8d52a1356a722ff9f4aeb983cd4eaf80ef221. Revert "examples: Added SASL PLAIN authorisation identity (authzid) examples" This reverts commit 8c1cc369d0c7163c6dcc91fd38edfea1f509ae75. Revert "curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool" This reverts commit a9499ff136d89987af885e2d7dff0a066a3e5817. Revert "sasl: Implement SASL authorisation identity via CURLOPT_SASL_AUTHZID" This reverts commit a14d72ca2fec5d4eb5a043936e4f7ce08015c177.
* sasl: Implement SASL authorisation identity via CURLOPT_SASL_AUTHZIDSteve Holme2019-05-224-0/+68
| | | | | | | | | | Added the ability for the calling program to specify the authorisation identity (authzid), the identity to act as, in addition to the authentication identity (authcid) and password when using SASL PLAIN authentication. Fixed #3653 Closes #3790
* PolarSSL: deprecate support step 1. Removed from configure.Daniel Stenberg2019-05-224-19/+10
| | | | | | | | Also removed mentions from most docs. Discussed: https://curl.haxx.se/mail/lib-2019-05/0045.html Closes #3888
* CURLOPT_READFUNCTION.3: see also CURLOPT_UPLOAD_BUFFERSIZE [ci skip]Daniel Stenberg2019-05-151-1/+2
| | | | | Reported-by: Roy Bellingan Bug: #3885
* CURLOPT_CAINFO.3: with Schannel, you want Windows 8 or later [ci skip]Daniel Stenberg2019-05-141-5/+6
| | | | | | | Clues-provided-by: Jay Satiro Clues-provided-by: Jeroen Ooms Fixes #3711 Closes #3874
* urlapi: add CURLUPART_ZONEID to set and getDaniel Stenberg2019-05-053-3/+10
| | | | | | | | The zoneid can be used with IPv6 numerical addresses. Updated test 1560 to verify. Closes #3834
* CURLMOPT_TIMERFUNCTION.3: warn about the recursive risk [ci skip]Daniel Stenberg2019-05-031-0/+5
| | | | | | | Reported-by: Ricardo Gomes Bug: #3537 Closes #3836
* CURLOPT_CHUNK_BGN_FUNCTION.3: document the struct and time valueDaniel Stenberg2019-05-031-1/+28
| | | | | | | | The time field in the curl_fileinfo struct will always be zero. No code was ever implemented to actually convert the date string to a time_t. Fixes #3829 Closes #3835
* CURLOPT_MAXAGE_CONN: set the maximum allowed age for conn reuseDaniel Stenberg2019-04-214-0/+69
| | | | | | | | | ... and disconnect too old ones instead of trying to reuse. Default max age is set to 118 seconds. Ref: #3722 Closes #3782
* CURLOPT_ADDRESS_SCOPE: fix range check and moretmilburn2019-04-131-9/+7
| | | | | | | | | | | | | | | | | Commit 9081014 fixed most of the confusing issues between scope id and scope however 844896d added bad limits checking assuming that the scope is being set and not the scope id. I have fixed the documentation so it all refers to scope ids. In addition Curl_if2ip refered to the scope id as remote_scope_id which is incorrect, so I renamed it to local_scope_id. Adjusted-by: Daniel Stenberg Closes #3655 Closes #3765 Fixes #3713
* urlapi: stricter CURLUPART_PORT parsingDaniel Stenberg2019-04-131-2/+4
| | | | | | | | | | | Only allow well formed decimal numbers in the input. Document that the number MUST be between 1 and 65535. Add tests to test 1560 to verify the above. Ref: https://github.com/curl/curl/issues/3753 Closes #3762
* CURLOPT_DNS_USE_GLOBAL_CACHE: removeDaniel Stenberg2019-04-111-2/+4
| | | | | | | | Remove the code too. The functionality has been disabled in code since 7.62.0. Setting this option will from now on simply be ignored and have no function. Closes #3654
* curl_easy_getinfo.3: fix minor formatting mistakeDaniel Stenberg2019-04-111-2/+2
|
* pipelining: removedDaniel Stenberg2019-04-066-10/+20
| | | | | | | As previously planned and documented in DEPRECATE.md, all pipelining code is removed. Closes #3651
* documentation: Fix several typosTim Rühsen2019-04-032-2/+2
| | | | | | Closes #3724 Reviewed-by: Jakub Zakrzewski Reviewed-by: Daniel Gustafsson
* CURLMOPT_PIPELINING.3: fix typoJay Satiro2019-03-251-1/+1
|
* curl_url.3: this is not experimental anymoreDaniel Stenberg2019-03-221-9/+1
|
* alt-svc: the libcurl bitsDaniel Stenberg2019-03-035-5/+173
|
* curl_easy_duphandle.3: clarify that a duped handle has no sharesDaniel Stenberg2019-03-011-4/+6
| | | | | | | Reported-by: Sara Golemon Fixes #3592 Closes #3634
* Secure Transport: no more "darwinssl"Daniel Stenberg2019-02-281-1/+2
| | | | | | | | Everyone calls it Secure Transport, now we do too. Reviewed-by: Nick Zitzmann Closes #3619
* examples: remove recursive calls to curl_multi_socket_actionDaniel Stenberg2019-02-231-9/+7
| | | | | | | | | | From within the timer callbacks. Recursive is problematic for several reasons. They should still work, but this way the examples and the documentation becomes simpler. I don't think we need to encourage recursive calls. Discussed in #3537 Closes #3601
* connection: never reuse CONNECT_ONLY conectionsDaniel Stenberg2019-02-191-1/+4
| | | | | | | | and make CONNECT_ONLY conections never reuse any existing ones either. Reported-by: Pavel Löbl Bug: https://curl.haxx.se/mail/lib-2019-02/0064.html Closes #3586
* curl_multi_remove_handle.3: use at any time, just not from within callbacksDaniel Stenberg2019-02-191-1/+4
| | | | [ci skip]
* schannel: stop calling it "winssl"Daniel Stenberg2019-02-018-24/+24
| | | | | | | | Stick to "Schannel" everywhere. The configure option --with-winssl is kept to allow existing builds to work but --with-schannel is added as an alias. Closes #3504
* doc: use meaningless port number in CURLOPT_LOCALPORT exampleJohn Marshall2019-01-312-2/+2
| | | | | | | | | Use an ephemeral port number here; previously the example had 8080 which could be confusing as the common web server port number might be misinterpreted as suggesting this option affects the remote port. URL: https://curl.haxx.se/mail/lib-2019-01/0084.html Closes #3513
* Escape the '\'Gisle Vanem2019-01-291-1/+1
| | | A backslash should be escaped in Roff / Troff.
* Fix typo in manpageAlessandro Ghedini2019-01-161-1/+1
|
* cookies: skip custom cookies when redirecting cross-siteKatsuhiko YOSHIDA2019-01-091-0/+4
| | | | Closes #3417
* docs: mention potential leak in curl_slist_appendDaniel Gustafsson2019-01-021-2/+14
| | | | | | | | | | | | | When a non-empty list is appended to, and used as the returnvalue, the list pointer can leak in case of an allocation failure in the curl_slist_append() call. This is correctly handled in curl code usage but we weren't explicitly pointing it out in the API call documentation. Fix by extending the RETURNVALUE manpage section and example code. Closes #3424 Reported-by: dnivras on github Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* http: added options for allowing HTTP/0.9 responsesDaniel Stenberg2018-12-215-2/+65
| | | | | | | | | | | | Added CURLOPT_HTTP09_ALLOWED and --http0.9 for this purpose. For now, both the tool and library allow HTTP/0.9 by default. docs/DEPRECATE.md lays out the plan for when to reverse that default: 6 months after the 7.64.0 release. The options are added already now so that applications/scripts can start using them already now. Fixes #2873 Closes #3383
* http: minor whitespace cleanup from f464535bDaniel Stenberg2018-12-142-38/+19
|
* http: Implement trailing headers for chunked transfersAyoub Boudhar2018-12-145-0/+181
| | | | | | | | | | | | | This adds the CURLOPT_TRAILERDATA and CURLOPT_TRAILERFUNCTION options that allow a callback based approach to sending trailing headers with chunked transfers. The test server (sws) was updated to take into account the detection of the end of transfer in the case of trailing headers presence. Test 1591 checks that trailing headers can be sent using libcurl. Closes #3350
* documentation: curl_formadd field and file names are now escapedPatrick Monnerat2018-12-111-1/+2
| | | | | | | | | | | Prior to 7.56.0, fieldnames and filenames were set in Content-Disposition header without special processing: this may lead to invalid RFC 822 quoted-strings. 7.56.0 introduces escaping of backslashes and double quotes in these names: mention it in the documentation. Reported-by: daboul on github Closes #3361
* CURLOPT_WRITEFUNCTION.3: spell out that it gets called many timesDaniel Stenberg2018-11-231-3/+5
|
* CURLOPT_HEADERFUNCTION.3: match 'nitems' name in synopsis and descriptionUnknownShadow2002018-11-221-1/+1
| | | | Closes #3295
* docs: add more description to unified ssl error codesHan Han2018-11-191-4/+4
|
* docs: expanded on some CURLU detailsDaniel Stenberg2018-11-112-3/+14
|
* setopt: add CURLOPT_CURLUJim Fuller2018-11-094-0/+65
| | | | | | Allows an application to pass in a pre-parsed URL via a URL handle. Closes #3227
* docs: ESCape "\n" codesescape-codes-docsGisle Vanem2018-11-094-6/+6
| | | | | | | | | | | Groff / Troff will display a: printaf("Errno: %ld\n", error); as: printf("Errno: %ld0, error); when a "\n" is not escaped. Use "\\n" instead. Closes #3246
* More "\n" ESCapingGisle Vanem2018-11-071-3/+3
|
* winssl: be consistent in Schannel capitalizationDaniel Gustafsson2018-11-071-2/+2
| | | | | | | | The productname from Microsoft is "Schannel", but in infof/failf reporting we use "schannel". This removes different versions. Closes #3243 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* urlapi: only skip encoding the first '=' with APPENDQUERY setDaniel Stenberg2018-11-071-5/+6
| | | | | | | | | APPENDQUERY + URLENCODE would skip all equals signs but now it only skip encoding the first to better allow "name=content" for any content. Reported-by: Alexey Melnichuk Fixes #3231 Closes #3231
* netrc: don't ignore the login name specified with "--user"Michael Kaufmann2018-11-051-8/+9
| | | | | | | | | | | | - for "--netrc", don't ignore the login/password specified with "--user", only ignore the login/password in the URL. This restores the netrc behaviour of curl 7.61.1 and earlier. - fix the documentation of CURL_NETRC_REQUIRED - improve the detection of login/password changes when reading .netrc - don't read .netrc if both login and password are already set Fixes #3213 Closes #3224
* symbols-in-versions: add missing CURLU_ symbolsDaniel Stenberg2018-11-041-11/+21
| | | | | | | | ...and fix symbol-scan.pl to also scan urlapi.h Reported-by: Alexey Melnichuk Fixes #3226 Closes #3230
* axtls: removedDaniel Stenberg2018-11-016-10/+6
| | | | | | | | | | As has been outlined in the DEPRECATE.md document, the axTLS code has been disabled for 6 months and is hereby removed. Use a better supported TLS library! Assisted-by: Daniel Gustafsson Closes #3194
* schannel: make CURLOPT_CERTINFO support using Issuer chainmarcosdiazr2018-11-011-1/+1
| | | | Closes #3197
* vtls: add MesaLink to curl_sslbackend enumDaniel Gustafsson2018-10-303-4/+8
| | | | | | | | | MesaLink support was added in commit 57348eb97d1b8fc3742e02c but the backend was never added to the curl_sslbackend enum in curl/curl.h. This adds the new backend to the enum and updates the relevant docs. Closes #3195 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* docs: add "see also" links for SSL optionsMichael Kaufmann2018-10-106-6/+14
| | | | | | | - link TLS 1.2 and TLS 1.3 options - link proxy and non-proxy options Closes #3121
* CURLOPT_SSL_VERIFYSTATUS: Fix typoDaniel Gustafsson2018-10-091-2/+2
| | | | Changes s/OSCP/OCSP/ and bumps the copyright year due to the change.
* spelling fixes [ci skip]Viktor Szakats2018-10-082-2/+2
| | | | | | | as detected by codespell 1.14.0 Closes https://github.com/curl/curl/pull/3114 Reviewed-by: Marcel Raad <Marcel.Raad@teamviewer.com>