summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* curl: in retry output don't call all problems "transient"bagder/retry-wordingDaniel Stenberg2020-09-051-5/+5
| | | | | ... because when --retry-all-errors is used, the error isn't necessarily transient at all.
* 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
* RELEASE-NOTES: syncedDaniel Stenberg2020-08-311-8/+24
|
* mqtt: enable by defaultDaniel Stenberg2020-08-3111-111/+113
| | | | | | No longer considered experimental. Closes #5858
* tls: add CURLOPT_SSL_EC_CURVES and --curvesMichael Baentsch2020-08-3020-1/+131
| | | | Closes #5892
* url: remove funny embedded comments in Curl_disonnect callsDaniel Stenberg2020-08-301-6/+4
|
* conn: check for connection being dead before reuseChris Paulson-Ellis2020-08-301-0/+6
| | | | | | | | | | Prevents incorrect reuse of an HTTP connection that has been prematurely shutdown() by the server. Partial revert of 755083d00deb16 Fixes #5884 Closes #5893
* buildconf: exec autoreconf to avoid additional processMarc Hoersken2020-08-291-1/+1
| | | | | | | | | Also make buildconf exit with the return code of autoreconf. Reviewed-by: Daniel Stenberg Follow up to #5853 Closes #5890
* CI/azure: no longer ignore results of test 1013Marc Hoersken2020-08-291-5/+5
| | | | | Follow up to #5771 Closes #5889
* docs: add description about CI platforms to CONTRIBUTE.mdMarc Hoersken2020-08-291-0/+27
| | | | | | | | Reviewed-by: Daniel Stenberg Reviewed-by: Marcel Raad Reviewed-by: Jay Satiro Closes #5882
* tests/getpart: use MIME::Base64 instead of home-cookedDaniel Stenberg2020-08-291-6/+1
| | | | | | | | | | | | Since we already use the base64 package since a while back, we can just as well switch to that here too. It also happens to use the exact same function name, which otherwise causes a run-time warning. Reported-by: Marc Hörsken Fixes #5885 Closes #5887
* ntlm: fix condition for curl_ntlm_core usageMarcel Raad2020-08-299-36/+23
| | | | | | | | | | | | `USE_WINDOWS_SSPI` without `USE_WIN32_CRYPTO` but with any other DES backend is fine, but was excluded before. This also fixes test 1013 as the condition for SMB support in configure.ac didn't match the condition in the source code. Now it does. Fixes https://github.com/curl/curl/issues/1262 Closes https://github.com/curl/curl/pull/5771
* AppVeyor: switch 64-bit Schannel Debug CMake builds to UnicodeMarcel Raad2020-08-291-0/+12
| | | | | | | | The Schannel builds are the most useful to verify as they make the most use of the Windows API. Classic MinGW doesn't support Unicode at all, only MinGW-w64 and MSVC do. Closes https://github.com/curl/curl/pull/5843
* CMake: add option to enable Unicode on WindowsMarcel Raad2020-08-292-0/+13
| | | | | | As already existing for winbuild. Closes https://github.com/curl/curl/pull/5843
* select: simplify return code handling for poll and selectMarc Hoersken2020-08-291-24/+13
| | | | | | | | | | | | | poll and select already return -1 on error according to POSIX, so there is no need to perform a <0 to -1 conversion in code. Also we can just use one check with <= 0 on the return code. Assisted-by: Daniel Stenberg Reviewed-by: Jay Satiro Replaces #5852 Closes #5880
* RELEASE-NOTES: syncedDaniel Stenberg2020-08-281-10/+34
|
* tests: add test1912 with typechecksJeroen Ooms2020-08-284-2/+118
| | | | | | Validates that gcc-typecheck macros match the new option type API. Closes #5873
* easyoptions: provide debug function when DEBUGBUILDDaniel Stenberg2020-08-282-2/+2
| | | | | | | | | ... not CURLDEBUG as they're not always set in conjunction. Follow-up to 6ebe63fac23f38df Fixes #5877 Closes #5878
* sockfilt: handle FD_CLOSE winsock event on write socketMarc Hoersken2020-08-281-3/+3
| | | | | | | | | Learn from the way Cygwin handles and maps the WinSock events to simulate correct and complete poll and select behaviour according to Richard W. Stevens Network Programming book. Follow up to #5867 Closes #5879
* multi: handle connection state winsock eventsMarc Hoersken2020-08-281-6/+6
| | | | | | | | | | | | Learn from the way Cygwin handles and maps the WinSock events to simulate correct and complete poll and select behaviour according to Richard W. Stevens Network Programming book. Reviewed-by: Jay Satiro Reviewed-by: Marcel Raad Follow up to #5634 Closes #5867
* Curl_pgrsTime - return new time to avoid timeout integer overflowDaniel Stenberg2020-08-284-23/+27
| | | | | | | | | | | | | | Setting a timeout to INT_MAX could cause an immediate error to get returned as timeout because of an overflow when different values of 'now' were used. This is primarily fixed by having Curl_pgrsTime() return the "now" when TIMER_STARTSINGLE is set so that the parent function will continue using that time. Reported-by: Ionuț-Francisc Oancea Fixes #5583 Closes #5847