summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* http2: now require nghttp2 >= 1.12.0Daniel Stenberg2020-02-211-1/+1
| | | | | | | | | To simplify our code and since earlier versions lack important function calls libcurl needs to function correctly. nghttp2 1.12.0 was relased on June 26, 2016. Closes #4961
* HTTP-COOKIES: mention that a trailing newline is requiredDaniel Stenberg2020-02-191-11/+14
| | | | | | | | | | | | ... so that we know we got the whole and not a partial line. Also, changed the formatting of the fields away from a table again since the table format requires a github-markdown tool version that we don't run on the web server atm. Reported-by: Sunny Bean Fixes #4946 Closes #4947
* CURLOPT_REDIR_PROTOCOLS.3: update the DEFAULT sectionDaniel Stenberg2020-02-181-2/+5
| | | | | | | | to be in sync with the description above Reported-by: Joonas Kuorilehto Fixes #4943 Closes #4945
* docs/GOVERNANCE: refreshed + added "donations" and "commercial support"Daniel Stenberg2020-02-181-3/+26
|
* socks: make the connect phase non-blockingDaniel Stenberg2020-02-172-18/+0
| | | | | | Removes two entries from KNOWN_BUGS. Closes #4907
* CURLINFO_COOKIELIST.3: Fix exampleJay Satiro2020-02-151-3/+3
| | | | | | | | | Prior to this change the example would try to import cookies from stdin, which wasn't what was intended. Reported-by: 3dyd@users.noreply.github.com Fixes https://github.com/curl/curl/issues/4930
* TODO: Paged searches on LDAP serverDaniel Stenberg2020-02-141-0/+5
| | | | Closes #4452
* TODO: CURLOPT_SSL_CTX_FUNCTION for LDAPSDaniel Stenberg2020-02-141-0/+8
| | | | Closes #4108
* create-dirs.d: mention the modeDaniel Stenberg2020-02-121-0/+2
| | | | | | Reported-by: Dan Jacobson Fixes #4766 Closes #4916
* CURLOPT_ALTSVC_CTRL.3: fix the DEFAULT wordingDaniel Stenberg2020-02-111-2/+5
| | | | | | | Assisted-by: Jay Satiro Reported-by: Craig Andrews Fixes #4909 Closes #4910
* altsvc: keep a copy of the file name to survive handle resetDaniel Stenberg2020-02-091-2/+3
| | | | | | | | | | | | The alt-svc cache survives a call to curl_easy_reset fine, but the file name to use for saving the cache was cleared. Now the alt-svc cache has a copy of the file name to survive handle resets. Added test 1908 to verify. Reported-by: Craig Andrews Fixes #4898 Closes #4902
* docs/HTTP3: add --enable-alt-svc to curl's configureDaniel Stenberg2020-02-051-3/+3
|
* RELEASE-PROCEDURE: feature win is closed post-release a few daysDaniel Stenberg2020-02-041-5/+13
| | | | | | | We've tried to uphold this already but let's make it official by publicly stating this is the way we do it. Closes #4877
* docs/HTTP3: update the OpenSSL branch to use for ngtcp2Daniel Stenberg2020-02-041-1/+1
| | | | Reported-by: James Fuller
* cleanup: fix typos and wording in docs and commentsPedro Monreal2020-02-022-2/+2
| | | | | Closes #4869 Reviewed-by: Emil Engler and Daniel Gustafsson
* KNOWN_BUGS: Multiple methods in a single WWW-Authenticate: headerDaniel Stenberg2020-01-291-0/+8
|
* oauth2-bearer.d: works for HTTP tooDaniel Stenberg2020-01-291-1/+1
| | | | | | Reported-by: Mischa Salle Bug: https://curl.haxx.se/mail/lib-2020-01/0070.html Closes #4862
* location.d: the method change is from POST to GET onlyDaniel Stenberg2020-01-282-9/+11
| | | | | | | | Not from generic non-GET to GET. Reported-by: Andrius Merkys Ref: #4859 Closes #4861
* curl.h: define CURL_WIN32 on windowsDaniel Stenberg2020-01-271-1/+2
| | | | | | | | | | | | ... so that the subsequent logic below can use a single known define to know when built on Windows (as we don't define WIN32 anymore). Follow-up to 1adebe7886ddf20b Reported-by: crazydef on github Assisted-by: Marcel Raad Fixes #4854 Closes #4855
* global_init: assume the EINTR bit by defaultDaniel Stenberg2020-01-261-4/+6
| | | | | | | | | | | | - Removed from global_init since it isn't thread-safe. The symbol will still remain to not break compiles, it just won't have any effect going forward. - make the internals NOT loop on EINTR (the opposite from previously). It only risks returning from the select/poll/wait functions early, and that should be risk-free. Closes #4840
* form.d: fix two minor typosAron Rotteveel2020-01-231-2/+2
| | | | Closes #4843
* CURLOPT_PROXY_SSL_OPTIONS.3: Sync with CURLOPT_SSL_OPTIONS.3Jay Satiro2020-01-231-16/+22
| | | | | | | - Copy CURLOPT_SSL_OPTIONS.3 description to CURLOPT_PROXY_SSL_OPTIONS.3. Prior to this change CURLSSLOPT_NO_PARTIALCHAIN was missing from the CURLOPT_PROXY_SSL_OPTIONS description.
* smtp: Allow RCPT TO command to fail for some recipientsPavel Volgarev2020-01-216-13/+94
| | | | | | | | Introduces CURLOPT_MAIL_RCPT_ALLLOWFAILS. Verified with the new tests 3002-3007 Closes #4816
* data.d: remove "Multiple files can also be specified"Daniel Stenberg2020-01-211-6/+5
| | | | | | | | It is superfluous and could even be misleading. Bug: https://curl.haxx.se/mail/archive-2020-01/0016.html Reported-by: Mike Norton Closes #4832
* HTTP: increase EXPECT_100_THRESHOLD to 1Mb加藤郁之2020-01-201-2/+2
| | | | | | Mentioned: https://curl.haxx.se/mail/lib-2020-01/0050.html Closes #4814
* ROADMAP: thread-safe `curl_global_init()`Daniel Stenberg2020-01-171-0/+7
| | | | I'd like to see this happen.
* polarssl: removedDaniel Stenberg2020-01-161-28/+4
| | | | | | | | | | | | As detailed in DEPRECATE.md, the polarssl support is now removed after having been disabled for 6 months and nobody has missed it. The threadlock files used by mbedtls are renamed to an 'mbedtls' prefix instead of the former 'polarssl' and the common functions that previously were shared between mbedtls and polarssl and contained the name 'polarssl' have now all been renamed to instead say 'mbedtls'. Closes #4825
* HTTP-COOKIES.md: describe the cookie file formatDaniel Stenberg2020-01-133-2/+28
| | | | | | | | | | ... and refer to that file from from CURLOPT_COOKIEFILE.3 and CURLOPT_COOKIELIST.3 Assisted-by: Jay Satiro Reported-by: bsammon on github Fixes #4805 Closes #4806
* ngtcp2: Add an error code for QUIC connection errorsEmil Engler2020-01-112-0/+4
| | | | | | | | | | - Add new error code CURLE_QUIC_CONNECT_ERROR for QUIC connection errors. Prior to this change CURLE_FAILED_INIT was used, but that was not correct. Closes https://github.com/curl/curl/pull/4754
* multi: Change curl_multi_wait/poll to error on negative timeoutJay Satiro2020-01-112-1/+4
| | | | | | | | | | | | | | - Add new error CURLM_BAD_FUNCTION_ARGUMENT and return that error when curl_multi_wait/poll is passed timeout param < 0. Prior to this change passing a negative value to curl_multi_wait/poll such as -1 could cause the function to wait forever. Reported-by: hamstergene@users.noreply.github.com Fixes https://github.com/curl/curl/issues/4763 Closes https://github.com/curl/curl/pull/4765
* include: remove non-curl prefixed definesDaniel Stenberg2020-01-091-5/+6
| | | | | ...requires some rearranging of the setup of CURLOPT_ and CURLMOPT_ enums.
* KNOWN_BUGS: AUTH PLAIN for SMTP is not working on all serversDaniel Stenberg2020-01-091-0/+7
| | | | Closes #4080
* docs/RELEASE-PROCEDURE.md: pushed some release datesDaniel Stenberg2020-01-091-8/+8
| | | | Ref: https://curl.haxx.se/mail/lib-2020-01/0031.html
* RELEASE-PROCEDURE.md: fix next release date (Feb 26)Daniel Stenberg2020-01-081-1/+1
| | | | [skip ci]
* THANKS: updated with names from the 7.68.0 releaseDaniel Stenberg2020-01-071-0/+32
|
* RELEASE-PROCEDURE: add four future release datesDaniel Stenberg2020-01-071-4/+4
| | | | | | and remove four past release dates [skip ci]
* CURLOPT_READFUNCTION.3: fix fopen params in exampleJay Satiro2020-01-061-1/+1
|
* CURLOPT_READFUNCTION.3: fix variable name in exampleJay Satiro2020-01-061-1/+1
| | | | | | Reported-by: Paul Joyce Fixes https://github.com/curl/curl/issues/4787
* docs: mention CURL_MAX_INPUT_LENGTH restrictionsDaniel Stenberg2020-01-052-2/+10
| | | | | | | | ... for curl_easy_setopt() and curl_url_set(). [skip ci] Closes #4783
* CURLOPT_HEADERFUNCTION.3: Document that size is always 1Jay Satiro2019-12-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | For compatibility with `fwrite`, the `CURLOPT_HEADERFUNCTION` callback is passed two `size_t` parameters which, when multiplied, designate the number of bytes of data passed in. In practice, CURL always sets the first parameter (`size`) to 1. This practice is also enshrined in documentation and cannot be changed in future. The documentation states that the default callback is `fwrite`, which means `fwrite` must be a suitable function for this purpose. However, the documentation also states that the callback must return the number of *bytes* it successfully handled, whereas ISO C `fwrite` returns the number of items (each of size `size`) which it wrote. The only way these numbers can be equal is if `size` is 1. Since `size` is 1 and can never be changed in future anyway, document that fact explicitly and let users rely on it. Reported-by: Frank Gevaerts Commit-message-by: Christopher Head Ref: https://github.com/curl/curl/pull/2787 Fixes https://github.com/curl/curl/issues/4758
* examples/postinmemory.c: Call curl_global_cleanup alwaysJay Satiro2019-12-241-3/+2
| | | | | | | | | Prior to this change curl_global_cleanup was not called if curl_easy_init failed. Reported-by: kouzhudong@users.noreply.github.com Fixes https://github.com/curl/curl/issues/4751
* url2file.c: fix copyright yearDaniel Stenberg2019-12-211-1/+1
| | | | Follow-up to 525787269599b5
* examples/url2file.c: corrected a commentRickard Hallerbäck2019-12-201-1/+1
| | | | | | | | The comment was confusing and suggested that setting CURLOPT_NOPROGRESS to 0L would both enable and disable debug output at the same time, like a Schrödinger's cat of CURLOPTs. Closes #4745
* HISTORY: OSS-Fuzz started fuzzing libcurl in 2017Daniel Stenberg2019-12-201-0/+2
|
* CURLOPT_QUOTE.3: fix typosJay Satiro2019-12-183-11/+11
| | | | | | | | | Prior to this change the EXAMPLE in the QUOTE/PREQUOTE/POSTQUOTE man pages would not compile because a variable name was incorrect. Reported-by: Bylon2@users.noreply.github.com Fixes https://github.com/curl/curl/issues/4736
* CURLOPT_URL.3: "curl supports SMB version 1 (only)"Daniel Stenberg2019-12-181-2/+2
| | | | [skip ci]
* HISTORY: the SMB(S) support landed in 2014Daniel Stenberg2019-12-181-0/+2
|
* KNOWN_BUGS: TLS session cache doesn't work with TFODaniel Stenberg2019-12-161-0/+5
| | | | | [skip ci] Closes #4301
* KNOWN_BUGS: Connection information when using TCP Fast OpenDaniel Stenberg2019-12-161-1/+2
| | | | | Also point to #4296 for more details Closes #4296
* KNOWN_BUGS: LDAP on Windows doesn't workDaniel Stenberg2019-12-161-0/+8
| | | | Closes #4261