summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* http_chunks: remove Curl_ prefix from static functionsbagder/openssl-rm-prefixDaniel Stenberg2021-01-131-6/+6
|
* transfer: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-5/+5
|
* tftp: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-5/+5
|
* multi: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-14/+14
|
* ldap: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-5/+5
|
* doh: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-2/+2
|
* asyn-ares: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-4/+4
|
* vtls: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-26/+26
|
* bearssl: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-31/+31
|
* mbedtls: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-32/+32
|
* wolfssl: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-30/+30
|
* nss: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-45/+45
|
* gnutls: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-49/+49
|
* openssl: remove Curl_ prefix from static functionsDaniel Stenberg2021-01-131-65/+65
| | | | ... as we reserve this prefix to library-wide functions.
* tool_doswin: Restore original console settings on CTRL signalJay Satiro2021-01-122-53/+66
| | | | | | | | | | | | | | | | | | - Move Windows terminal init code from tool_main to tool_doswin. - Restore the original console settings on CTRL+C and CTRL+BREAK. Background: On Windows the curl tool changes the console settings to enable virtual terminal processing (eg color output) if supported (ie Win 10). The original settings are restored on exit but prior to this change were not restored in the case of the CTRL signals. Windows VT behavior varies depending on console/powershell/terminal; refer to the discussion in #6226. Assisted-by: Rich Turner Closes https://github.com/curl/curl/pull/6226
* gen.pl: fix perl syntaxDaniel Stenberg2021-01-121-2/+2
| | | | Follow-up to 324cf1d2e
* help: update to current codebaseEmil Engler2021-01-121-5/+6
| | | | | | This commit bumps the help to the current state of the project. Closes #6437
* docs: fix line length bug in gen.plEmil Engler2021-01-121-2/+5
| | | | | | | | | The script warns if the length of $opt and $desc is > 78. However, these two variables are on totally separate lines so the check makes no sense. Also the $bitmask field is totally forgotten. Currently this leads to two warnings within `--resolve` and `--aws-sigv4`. Closes #6438
* docs: fix wrong documentation in help.dEmil Engler2021-01-121-1/+1
| | | | | | | curl does not list all categories when you invoke "--help" without any parameters. Closes #6436
* aws-sigv4.d: polish the wordingDaniel Stenberg2021-01-121-2/+2
| | | | | | Make it shorter and imperative form Closes #6439
* misc: fix typosFabian Keil2021-01-117-10/+12
| | | | | Bug: https://curl.se/mail/lib-2021-01/0063.html Closes #6434
* multi_runsingle: bail out early on data->conn == NULLDaniel Stenberg2021-01-111-1/+4
| | | | | | | As that's a significant error condition and scan-build warns for NULL pointer dereferences if we don't. Closes #6433
* multi: skip DONE state if there's no connection left for ftp wildcardDaniel Stenberg2021-01-111-1/+4
| | | | ... to avoid running in that state with data->conn being NULL.
* libssh2: fix "Value stored to 'readdir_len' is never read"Daniel Stenberg2021-01-111-1/+0
| | | | Detected by scan-build
* connect: mark intentional ignores of setsockopt return valuesDaniel Stenberg2021-01-111-9/+8
| | | | | | Pointed out by Coverity Closes #6431
* http_proxy: Fix CONNECT chunked encoding race conditionJay Satiro2021-01-111-1/+4
| | | | | | | | | | | | | | | | - During the end-of-headers response phase do not mark the tunnel complete unless the response body was completely parsed/ignored. Prior to this change if the entirety of a CONNECT response with chunked encoding was not received by the time the final header was parsed then the connection would be marked done prematurely, before all the chunked data could be read in and ignored (since this is what we do with any CONNECT response body) and the connection could not be used. Bug: https://curl.se/mail/lib-2021-01/0033.html Reported-by: Fabian Keil Closes https://github.com/curl/curl/pull/6432
* RELEASE-NOTES: syncedDaniel Stenberg2021-01-111-9/+27
|
* url: if IDNA conversion fails, fallback to TransitionalDaniel Stenberg2021-01-111-0/+5
| | | | | | | | This improves IDNA2003 compatiblity. Reported-by: Bubu on github Fixes #6423 Closes #6428
* travis: make the Hyper build from its master branchDaniel Stenberg2021-01-111-1/+1
| | | | Closes #6430
* http: make 'authneg' also work for HyperDaniel Stenberg2021-01-105-21/+25
| | | | | | | When doing a request with a request body expecting a 401/407 back, that initial request is sent with a zero content-length. Test 177 and more. Closes #6424
* cmake: Add an option to disable libidn2Jay Satiro2021-01-081-1/+5
| | | | | | | | | | New option USE_LIBIDN2 defaults to ON for libidn2 detection. Prior to this change libidn2 detection could not be turned off in cmake builds. Reported-by: William A Rowe Jr Fixes https://github.com/curl/curl/issues/6361 Closes https://github.com/curl/curl/pull/6362
* HYPER: no longer needs the special branchDaniel Stenberg2021-01-081-1/+1
|
* test179: use consistent header line endingsDaniel Stenberg2021-01-081-1/+1
| | | | ... to make "Hyper mode" work better.
* file: don't provide content-length for directoriesDaniel Stenberg2021-01-071-10/+12
| | | | | | | ... as it is misleading. Ref #6379 Closes #6421
* TODO: Directory listing for FILE:Daniel Stenberg2021-01-071-8/+17
| | | | Ref #6379
* curl.h: add CURLPROTO_GOPHERS as own protocol identifierDaniel Stenberg2021-01-064-3/+8
| | | | | | | Follow-up to a1f06f32b860, to make sure it can be handled separately from plain gopher. Closes #6418
* http: have CURLOPT_FAILONERROR fail after all headersDaniel Stenberg2021-01-065-37/+90
| | | | | | | | | | ... so that Retry-After and other meta-content can still be used. Added 1634 to verify. Adjusted test 194 and 281 since --fail now also includes the header-terminating CRLF in the output before it exits. Fixes #6408 Closes #6409
* global_init: debug builds allocates a byte in initDaniel Stenberg2021-01-062-1/+15
| | | | | | | | | | ... to make build tools/valgrind warn if no curl_global_cleanup is called. This is conditionally only done for debug builds with the env variable CURL_GLOBAL_INIT set. Closes #6410
* lib/unit tests: add missing curl_global_cleanup() callsDaniel Stenberg2021-01-0616-50/+84
|
* travis: adapt to Hyper build changeDaniel Stenberg2021-01-062-3/+3
| | | | Closes #6419
* pretransfer: setup the User-Agent header hereDaniel Stenberg2021-01-052-14/+14
| | | | | | | | | | | | | ... and not in the connection setup, as for multiplexed transfers the connection setup might be skipped and then the transfer would end up without the set user-agent! Reported-by: Flameborn on github Assisted-by: Andrey Gursky Assisted-by: Jay Satiro Assisted-by: Mike Gelfand Fixes #6312 Closes #6417
* test66: disable with HyperDaniel Stenberg2021-01-051-0/+3
| | | | ...as Hyper doesn't support HTTP/0.9
* c-hyper: poll the tasks until end correctlyDaniel Stenberg2021-01-052-3/+3
| | | | | | ... makes test 36 work. Closes #6412
* mk-ca-bundle.pl: deterministic output when using -tGergely Nagy2021-01-051-1/+1
| | | | | | | Printing trust purposes are now sorted, making the output deterministic when running on the same input certdata.txt. Closes #6413
* KNOWN_BUGS: fixed "wolfSSL lacks support for renegotiation"Daniel Stenberg2021-01-051-9/+0
| | | | Fixed by #6411
* wolfssl: add SECURE_RENEGOTIATION supportHimanshu Gupta2021-01-051-0/+7
| | | | Closes #6411
* RELEASE-NOTES: syncedDaniel Stenberg2021-01-051-7/+33
|
* wolfssl: update copyright year rangeDaniel Stenberg2021-01-051-1/+1
| | | | Follow-up to 7de2e96535e9
* c-hyper: make CURLE_GOT_NOTHING workDaniel Stenberg2021-01-051-3/+8
| | | | | | Test 30 Closes #6407
* http_proxy: make CONNECT work with the Hyper backendDaniel Stenberg2021-01-054-49/+284
| | | | | | Makes test 80 run Closes #6406