summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: enable more tests with hyperbagder/enable-tests-hyperDaniel Stenberg2021-10-244-33/+31
| | | | Adjusted 1144, 1164 and 1176.
* RELEASE-NOTES: syncedDaniel Stenberg2021-10-241-9/+39
|
* tests: use python3 in test 1451Samuel Henrique2021-10-241-1/+1
| | | | | | | | | | | This is a continuation of commit ec91b5a69000bea0794bbb3 in which changing this test was missed. There are no other python2 leftovers now. Based on a Debian patch originally written by Alessandro Ghedini <ghedo@debian.org> Closes #7899
* lib: fixing comment spelling typos in lib filesEddie Lumpkin2021-10-2210-15/+15
| | | | | Closes #7894 Signed-off-by: ewlumpkin <ewlumpkin@gmail.com>
* openssl: if verifypeer is not requested, skip the CA loadingDaniel Stenberg2021-10-221-44/+20
| | | | | | | | It was previously done mostly to show a match/non-match in the verbose output even when verification was not asked for. This change skips the loading of the CA certs unless verifypeer is set to save memory and CPU. Closes #7892
* curl-confopts.m4: remove --enable/disable-hidden-symbolsDaniel Stenberg2021-10-221-4/+0
| | | | | | | These configure options have been saying "deprecated" since 9e24b9c7af (April 2012). It was about time we remove them. Closes #7891
* c-hyper: don't abort CONNECT responses early when auth-in-progressDaniel Stenberg2021-10-222-1/+3
| | | | | | | | ... and make sure to stop ignoring the body once the CONNECT is done. This should make test 206 work proper again and not be flaky. Closes #7889
* hyper: does not support disabling CURLOPT_HTTP_TRANSFER_DECODINGDaniel Stenberg2021-10-225-2/+10
| | | | | | | | Simply because hyper doesn't have this ability. Mentioned in docs now. Skip test 326 then Closes #7889
* test262: don't attempt with hyperDaniel Stenberg2021-10-222-1/+0
| | | | | | | This test verifies that curl works with binary zeroes in HTTP response headers and hyper refuses such. They're not kosher http. Closes #7889
* c-hyper: make test 217 runDaniel Stenberg2021-10-223-2/+8
| | | | Closes #7889
* DISABLED: enable test 209+213 for hyperDaniel Stenberg2021-10-221-2/+0
| | | | | | Follow-up to 823d3ab855c Closes #7889
* test207: accept a different error code for hyperDaniel Stenberg2021-10-222-1/+5
| | | | | | | It returns HYPERE_UNEXPECTED_EOF for this case which we convert to the somewhat generic CURLE_RECV_ERROR. Closes #7889
* INSTALL: update symbol hiding optionÉrico Nogueira2021-10-221-1/+1
| | | | | | | --enable-hidden-symbols was deprecated in 9e24b9c7afbcb81120af4cf3f6cdee49a06d8224. Closes #7890
* http_proxy: multiple CONNECT with hyper done betterDaniel Stenberg2021-10-212-3/+17
| | | | | | Enabled test 206 Closes #7888
* hyper: pass the CONNECT line to the debug callbackDaniel Stenberg2021-10-211-0/+9
| | | | Closes #7887
* mailmap: Malik Idrees Hasan KhanDaniel Stenberg2021-10-211-0/+1
|
* build: fix typosMalikIdreesHasa2021-10-212-2/+2
| | | | Closes https://github.com/curl/curl/pull/7886
* URL-SYNTAX: add IMAP UID SEARCH exampleJay Satiro2021-10-211-5/+24
| | | | | | | | | | | | | - Explain the difference between IMAP search via URL (which returns message sequence numbers) and IMAP search via custom request (which can return UID numbers if prefixed with UID, eg "UID SEARCH ..."). Bug: https://github.com/curl/curl/issues/7626 Reported-by: orycho@users.noreply.github.com Ref: https://github.com/curl/curl/issues/2789 Closes https://github.com/curl/curl/pull/7881
* manpage: adjust the asterisk in some SYNOPSIS sectionsDaniel Stenberg2021-10-204-10/+11
| | | | Closes #7884
* curl_multi_perform.3: polish wordingDaniel Stenberg2021-10-201-66/+25
| | | | | | | | | | | | | - simplify the example by using curl_multi_poll - mention curl_multi_add_handle in the text - cut out the description of pre-7.20.0 return code behavior - that version is now more than eleven years old and is basically no longer out there - adjust the "typical usage" to mention curl_multi_poll Closes #7883
* docs/THANKS: removed on requestDaniel Stenberg2021-10-201-1/+0
|
* FAQ: polish the explanation of libcurlDaniel Stenberg2021-10-201-2/+2
|
* curl_easy_perform.3: minor wording tweakDaniel Stenberg2021-10-201-3/+3
|
* mime: mention CURL_DISABLE_MIME in commentErik Stenlund2021-10-201-1/+2
| | | | | | | CURL_DISABLE_MIME is not mentioned in the comment describing the if else preprocessor directive. Closes #7882
* tls: remove newline from three infof() callsDaniel Stenberg2021-10-193-3/+3
| | | | | | | | Follow-up to e7416cf Reported-by: billionai on github Fixes #7879 Closes #7880
* RELEASE-NOTES: syncedDaniel Stenberg2021-10-191-11/+34
|
* curl_gssapi: fix build warnings by removing constDaniel Stenberg2021-10-191-2/+2
| | | | | | | | | Follow-up to 20e980f85b0ea6 In #7875 these inits were modified but I get two warnings that these new typecasts are necessary for. Closes #7876
* curl_gssapi: fix link error on macOS MontereyBo Anderson2021-10-191-4/+6
| | | | | Fixes #7657 Closes #7875
* test1185: verify checksrcDaniel Stenberg2021-10-182-1/+185
| | | | Closes #7866
* checksrc: improve the SPACESEMICOLON error messageDaniel Stenberg2021-10-181-6/+2
| | | | | | and adjust the MULTISPACE one to use plural Closes #7866
* url: set "k->size" -1 at start of requestDaniel Stenberg2021-10-181-1/+1
| | | | | | | The size of the transfer is unknown at that point. Fixes #7871 Closes #7872
* doh: remove experimental code for DoH with GETDaniel Gustafsson2021-10-182-24/+2
| | | | | | | | | | The code for sending DoH requests with GET was never enabled in a way such that it could be used or tested. As there haven't been requests for this feature, and since it at this is effectively dead, remove it and favor reimplementing the feature in case anyone is interested. Closes #7870 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* cirrus: remove FreeBSD 11.4 from the matrixDaniel Stenberg2021-10-181-3/+0
| | | | | | It has reached End-Of-Life and causes some LDAP CI issues. Closes #7869
* cirrus: switch to openldap24-clientDaniel Stenberg2021-10-181-1/+1
| | | | | | | | ... as it seems openldap-client doesn't exist anymore. Reported-by: Jay Satiro Fixes #7868 Closes #7869
* checksrc: ignore preprocessor linesDaniel Stenberg2021-10-173-13/+29
| | | | | | | | | | | | | | | | In order to check the actual code better, checksrc now ignores everything that look like preprocessor instructions. It also means that code in macros are now longer checked. Note that some rules then still don't need to be followed when code is exactly below a cpp instruction. Removes two checksrc exceptions we needed previously because of preprocessor lines being checked. Reported-by: Marcel Raad Fixes #7863 Closes #7864
* urlapi: skip a strlen(), pass in zeroDaniel Stenberg2021-10-152-3/+2
| | | | | | | | | ... to let curl_easy_escape() itself do the strlen. This avoids a (false positive) Coverity warning and it avoids us having to store the strlen() return value in an int variable. Reviewed-by: Daniel Gustafsson Closes #7862
* misc: update copyright yearsDaniel Stenberg2021-10-157-7/+7
|
* examples/htmltidy: correct wrong printf() useDaniel Stenberg2021-10-151-4/+4
| | | | | | | | | ... and update the includes to match how current htmltidy wants them used. Reported-by: Stathis Kapnidis Fixes #7860 Closes #7861
* http: set content length earlierJay Satiro2021-10-153-45/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make content length (ie download size) accessible to the user in the header callback, but only after all headers have been processed (ie only in the final call to the header callback). Background: For a long time the content length could be retrieved in the header callback via CURLINFO_CONTENT_LENGTH_DOWNLOAD_T as soon as it was parsed by curl. Changes were made in 8a16e54 (precedes 7.79.0) to ignore content length if any transfer encoding is used. A side effect of that was that content length was not set by libcurl until after the header callback was called the final time, because until all headers are processed it cannot be determined if content length is valid. This change keeps the same intention --all headers must be processed-- but now the content length is available before the final call to the header function that indicates all headers have been processed (ie a blank header). Bug: https://github.com/curl/curl/commit/8a16e54#r57374914 Reported-by: sergio-nsk@users.noreply.github.com Co-authored-by: Daniel Stenberg Fixes https://github.com/curl/curl/issues/7804 Closes https://github.com/curl/curl/pull/7803
* aws-sigv4: make signature work when post data is binaryAbhinav Singh2021-10-158-3/+219
| | | | | | | | | User sets the post fields size for binary data. Hence, we should not be using strlen on it. Added test 1937 and 1938 to verify. Closes #7844
* MacOSX-Framework: remove redundant ';'a13460542021-10-151-1/+1
| | | | Closes #7859
* RELEASE-NOTES: syncedDaniel Stenberg2021-10-141-7/+30
|
* openssl: with OpenSSL 1.1.0+ a failed RAND_status means goawayDaniel Stenberg2021-10-141-12/+23
| | | | | | | | | One reason we know it can fail is if a provider is used that doesn't do a proper job or is wrongly configured. Reported-by: Michael Baentsch Fixes #7840 Closes #7856
* cmake: add CURL_ENABLE_SSL option and make CMAKE_USE_* SSL backend options ↵Ryan Mast2021-10-141-7/+8
| | | | | | depend on it Closes https://github.com/curl/curl/pull/7822
* http: remove assert that breaks hyperDaniel Stenberg2021-10-141-1/+1
| | | | | | Reported-by: Jay Satiro Fixes #7852 Closes #7855
* http_proxy: fix one more result assign for hyperDaniel Stenberg2021-10-141-1/+1
| | | | | | and remove the bad assert again, since it was run even with no error! Closes #7854
* sws: fix memory leak on exitJay Satiro2021-10-141-5/+7
| | | | | | | | | - Free the allocated http request struct on cleanup. Prior to this change if sws was built with leak sanitizer it would report a memory leak error during testing. Closes https://github.com/curl/curl/pull/7849
* c-hyper: make Curl_http propagate errors betterDaniel Stenberg2021-10-141-41/+78
| | | | | | | | Pass on better return codes when errors occur within Curl_http instead of insisting that CURLE_OUT_OF_MEMORY is the only possible one. Pointed-out-by: Jay Satiro Closes #7851
* http_proxy: make hyper CONNECT() return the correct error codeDaniel Stenberg2021-10-141-12/+39
| | | | | | | | | For every 'goto error', make sure the result variable holds the error code for what went wrong. Reported-by: Rafał Mikrut Fixes #7825 Closes #7846
* docs/Makefile.am: repair 'make html'Daniel Stenberg2021-10-141-1/+1
| | | | | | by removing index.html which isn't around anymore Closes #7853