summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* curl_mime_headers.3: fix the example's use of curl_slist_appendbagder/curl_mime_headers-docsDaniel Stenberg2020-09-081-2/+2
| | | | | Reported-by: sofaboss on github Fixes #5942
* lib: fix -Wassign-enum warningsDaniel Stenberg2020-09-0815-48/+53
| | | | | | | | | | configure --enable-debug now enables -Wassign-enum with clang, identifying several enum "abuses" also fixed. Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/879007f8118771f4896334731aaca5850a154675#commitcomment-42087553 Closes #5929
* RELEASE-NOTES: syncedDaniel Stenberg2020-09-081-6/+33
|
* url: use blank credentials when using proxy w/o username and passwordDiven Qi2020-09-081-2/+4
| | | | | | | Fixes proxy regression brought in commit ad829b21ae (7.71.0) Fixed #5911 Closes #5914
* travis: add a build using libressl (from git master)Daniel Stenberg2020-09-072-0/+13
| | | | | | The v3.2.1 tag (latest release atm) results in a broken build. Closes #5932
* configure: let --enable-debug set -Wenum-conversion with gcc >= 10Daniel Stenberg2020-09-071-0/+4
| | | | | | | | Unfortunately, this option is not detecting the same issues as clang's -Wassign-enum flag, but should still be useful to detect future mistakes. Closes #5930
* openssl: consider ALERT_CERTIFICATE_EXPIRED a failed verificationDaniel Stenberg2020-09-071-1/+2
| | | | | | | | | | | If the error reason from the lib is SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED, libcurl will return CURLE_PEER_FAILED_VERIFICATION and not CURLE_SSL_CONNECT_ERROR. This unifies the libcurl return code and makes libressl run test 313 (CRL testing) fine. Closes #5934
* FAQ: refreshed some very old languageDaniel Stenberg2020-09-071-31/+22
|
* cmake: make HTTP_ONLY also disable MQTTDaniel Stenberg2020-09-071-7/+8
| | | | | | | ... and alphasort the order of disabling protocols to make it easier to browse. Closes #5931
* libtest: remove lib1541 leftoversDaniel Stenberg2020-09-071-4/+0
| | | | | | Caused automake errors. Follow-up to 8ca54a03ea08a
* tests/libtests: remove test 1900 and 2033Daniel Stenberg2020-09-071-10/+2
| | | | | | We already remove the test files, now remove the libtest codes as well. Follow-up to e50a877df74
* CI/azure: add test number to title for display in analyticsMarc Hoersken2020-09-071-1/+3
| | | | | | | | | | To ease identification of tests the test number is added to the test case title in order to have it on the Azure DevOps Analytics pages and reports which currently do not show it. Bump test case revision to make Azure DevOps update titles. Closes #5927
* altsvc: clone setting in curl_easy_duphandlebagder/altsvc-duphandleDaniel Stenberg2020-09-067-10/+49
| | | | | | | | | | | | The cache content is not duplicated, like other caches, but the setting and specified file name are. Test 1908 is extended to verify this somewhat. Since the duplicated handle gets the same file name, the test unfortunately overwrites the same file twice (with different contents) which makes it hard to check automatically. Closes #5923
* test1541: remove since it is a known bugDaniel Stenberg2020-09-065-38/+11
| | | | | | | | | | | A shared connection cache is not thread-safe is a known issue. Stop testing this until we believe this issue is addressed. Reduces occasional test failures we don't care about. The test code in lib1541.c is left in git to allow us to restore it when we get to fix this. Closes #5922
* tests: remove pipelining testsDaniel Stenberg2020-09-0610-587/+18
| | | | | | | | | | Remove the tests 530, 584, 1900, 1901, 1902, 1903 and 2033. They were previously disabled. The Pipelining code was removed from curl in commit 2f44e94efb3df8e, April 2019. Closes #5921
* curl: retry delays in parallel mode no longer sleeps blockingDaniel Stenberg2020-09-062-12/+39
| | | | | | | | | The previous sleep for retries would block all other concurrent transfers. Starting now, the retry will instead be properly marked to not get restarted until after the delay time but other transfers can still continue in the mean time. Closes #5917
* curl:parallel_transfers: make sure retry readds the transferDaniel Stenberg2020-09-051-3/+4
| | | | | | Reported-by: htasta on github Fixes #5905 Closes #5917
* build: drop support for building with WatcomDaniel Stenberg2020-09-055-524/+4
| | | | | | | These files are not maintained, they seem to have no users, Watcom compilers look like not having users nor releases anymore. Closes #5918
* winbuild/rundebug.cmd: removeDaniel Stenberg2020-09-051-24/+0
| | | | | | Seems to have been added by mistake? Not included in dists. Closes #5919
* curl: in retry output don't call all problems "transient"Daniel Stenberg2020-09-051-5/+5
| | | | | | | ... because when --retry-all-errors is used, the error isn't necessarily transient at all. Closes #5916
* easygetopt: pass a valid enum to avoid compiler warningDaniel Stenberg2020-09-051-1/+2
| | | | | | | | | "integer constant not in range of enumerated type 'CURLoption'" Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/6ebe63fac23f38df911edc348e8ccc72280f9434#commitcomment-42042843 Closes #5915
* tests: Add tests for new --helpEmil Engler2020-09-045-1/+203
| | | | | | This commit is a part of "--help me if you can" Closes #5680
* tool: update --help with categoriesEmil Engler2020-09-045-246/+602
| | | | | | This commit is a part of "--help me if you can" Closes #5680
* docs: add categories to all cmdline optsEmil Engler2020-09-04235-6/+289
| | | | | | | | Adapted gen.pl with 'listcats' This commit is a part of "--help me if you can" Closes #5680
* RELEASE-NOTES: syncedDaniel Stenberg2020-09-041-9/+39
|
* connect.c: remove superfluous 'else' in Curl_getconnectinfoihsinme2020-09-041-2/+1
| | | | Closes #5912
* CMake: remove explicit `CMAKE_ANSI_CFLAGS`Samuel Marks2020-09-041-4/+0
| | | | | | | | | | This variable was removed from cmake in commit https://gitlab.kitware.com/cmake/cmake/commit/5a834b0bb0bc288. A later CMake commit removes the variable from the tests, claiming that it was removed in CMake 2.6 Reviewed-By: Peter Wu Closes #5439
* libssh2: pass on the error from ssh_force_knownhost_key_typecbe2020-09-031-0/+1
| | | | Closes #5909
* scripts/delta: add diffstat summaryDaniel Stenberg2020-09-031-18/+17
| | | | ... and make output more table-like
* http_proxy: do not crash with HTTPS_PROXY and NO_PROXY setMartin Bašti2020-09-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... in case NO_PROXY takes an effect Without this patch, the following command crashes: $ GIT_CURL_VERBOSE=1 NO_PROXY=github.com HTTPS_PROXY=https://example.com \ git clone https://github.com/curl/curl.git Minimal libcurl-based reproducer: #include <curl/curl.h> int main() { CURL *curl = curl_easy_init(); if(curl) { CURLcode ret; curl_easy_setopt(curl, CURLOPT_URL, "https://github.com/"); curl_easy_setopt(curl, CURLOPT_PROXY, "example.com"); /* set the proxy type */ curl_easy_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTPS); curl_easy_setopt(curl, CURLOPT_NOPROXY, "github.com"); curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); ret = curl_easy_perform(curl); curl_easy_cleanup(curl); return ret; } return -1; } Assisted-by: Kamil Dudka Bug: https://bugzilla.redhat.com/1873327 Closes #5902
* travis: add a CI job with openssl3 (from git master)Daniel Stenberg2020-09-032-0/+20
| | | | Closes #5908
* openssl: avoid error conditions when importing native CADaniel Stenberg2020-09-021-2/+2
| | | | | | | | The code section that is OpenSSL 3+ specific now uses the same logic as is used in the version < 3 section. It caused a compiler error without it. Closes #5907
* setopt: avoid curl_ on local variableDaniel Stenberg2020-09-021-2/+2
| | | | Closes #5906
* mqtt.c: avoid curl_ prefix on local variableDaniel Stenberg2020-09-021-3/+3
| | | | Closes #5906
* wildcard: strip "curl_" prefix from private symbolsDaniel Stenberg2020-09-021-4/+4
| | | | Closes #5906
* vtls: make it 'struct Curl_ssl_session'Daniel Stenberg2020-09-025-11/+11
| | | | | | Use uppercase C for internal symbols. Closes #5906
* curl_threads: make it 'struct Curl_actual_call'Daniel Stenberg2020-09-021-3/+3
| | | | | | Internal names should not be prefixed "curl_" Closes #5906
* schannel: make it 'struct Curl_schannel*'Daniel Stenberg2020-09-022-13/+13
| | | | | | As internal global names should use captical C. Closes #5906
* hash: make it 'struct Curl_hash'Daniel Stenberg2020-09-0213-83/+83
| | | | | | As internal global names should use captical C. Closes #5906
* llist: make it "struct Curl_llist"Daniel Stenberg2020-09-0217-102/+102
| | | | | | As internal global names should use captical C. Closes #5906
* telnet.c: depend on static requirement of WinSock version 2Marc Hoersken2020-09-021-122/+9
| | | | | | | | | | | | Drop dynamic loading of ws2_32.dll and instead rely on the imported version which is now required to be at least 2.2. Reviewed-by: Marcel Raad Reviewed-by: Jay Satiro Reviewed-by: Daniel Stenberg Reviewed-by: Viktor Szakats Closes #5854
* win32: drop support for WinSock version 1, require version 2Marc Hoersken2020-09-025-22/+11
| | | | | | | | | | | | | | | IPv6, telnet and now also the multi API require WinSock version 2 which is available starting with Windows 95. Therefore we think it is time to drop support for version 1. Reviewed-by: Marcel Raad Reviewed-by: Jay Satiro Reviewed-by: Daniel Stenberg Reviewed-by: Viktor Szakats Follow up to #5634 Closes #5854
* select: align poll emulation to return all relevant eventsMarc Hoersken2020-09-021-8/+20
| | | | | | | | | | | | | | The poll emulation via select already consumes POLLRDNORM, POLLWRNORM and POLLRDBAND as input events. Therefore it should also return them as output events if signaled. Also fix indentation in input event handling block. Assisted-by: Jay Satiro Reviewed-by: Daniel Stenberg Replaces #5852 Closes #5883
* CI/azure: MQTT is now enabled by defaultMarc Hoersken2020-09-021-2/+2
| | | | | | | Reviewed-by: Daniel Stenberg Follow up to #5858 Closes #5903
* copyright.pl: ignore buildconfDaniel Stenberg2020-09-021-0/+1
|
* test971: show test mismatches "inline"Daniel Stenberg2020-09-022-1/+8
|
* lib/Makefile.am: bump VERSIONINFO due to new functionsDaniel Stenberg2020-09-011-1/+1
| | | | | | | ... we're generally bad at this, but we are adding new functions for this release. Closes #5899
* optiontable: use DEBUGBUILDDaniel Stenberg2020-09-011-1/+1
| | | | Follow-up to commit 6e18568ba38 (#5877)
* cmdline-opts/gen.pl: generate nicer "See Also" in curl.1Daniel Stenberg2020-09-011-1/+13
| | | | | | | If there are more than two items in the list, use commas for all but the last separator which is set to 'and'. Reads better. Closes #5898
* curl.1: add see also no-progress-meter on two spotsDaniel Stenberg2020-09-012-1/+2
| | | | | | Ref: #5894 Closes #5897