summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* TODO: --fail-with-body perchance?Daniel Stenberg2021-01-051-0/+9
|
* tool_operate: fix the suppression logic of some error messagesJay Satiro2021-01-041-6/+8
| | | | | | | | | | | | | | | | | | | | | | - Fix the failed truncation and failed writing body error messages to not be shown unless error messages are shown. (ie the user has specified -sS, or has not specified -s). - Also prefix same error messages with "curl: ", for example: curl: (23) Failed to truncate, exiting Prior to this change the failed truncation error messages would be shown if not -s, but did not account for -sS which should show. Prior to this change the failed writing body error messages would be shown always. Ref: https://curl.se/docs/manpage.html#-S Bug: https://curl.se/mail/archive-2020-12/0017.html Reported-by: Hongyi Zhao Closes https://github.com/curl/curl/pull/6402
* wolfssl: Support wolfSSL builds missing TLS 1.1Jay Satiro2021-01-041-1/+6
| | | | | | | | | | | | | | | | | | The wolfSSL TLS library defines NO_OLD_TLS in some of their build configurations and that causes the library to be built without TLS 1.1. For example if MD5 is explicitly disabled when building wolfSSL then that defines NO_OLD_TLS and the library is built without TLS 1.1 [1]. Prior to this change attempting to build curl with a wolfSSL that was built with NO_OLD_TLS would cause a build link error undefined reference to wolfTLSv1_client_method. [1]: https://github.com/wolfSSL/wolfssl/blob/v4.5.0-stable/configure.ac#L2366 Bug: https://curl.se/mail/lib-2020-12/0121.html Reported-by: Julian Montes Closes https://github.com/curl/curl/pull/6388
* test1633: set appropriate nameDaniel Stenberg2021-01-041-4/+4
| | | | "--retry with a 429 response and Retry-After:"
* travis: limit the tests with quiche builds to HTTPS and FTPS onlyDaniel Stenberg2021-01-032-4/+4
| | | | | | ... since it runs into the 50 minute time limit too often otherwise. Closes #6403
* HISTORY: added dates to early historyDaniel Stenberg2021-01-031-7/+26
| | | | | | Mostly thanks to this archived web page for urlget: https://web.archive.org/web/19980216125115/http://www.inf.ufrgs.br/~sagula/urlget.html
* httpauth: make multi-request auth work with custom portDaniel Stenberg2021-01-028-13/+158
| | | | | | | | | | | | When doing HTTP authentication and a port number set with CURLOPT_PORT, the code would previously have the URL's port number override as if it had been a redirect to an absolute URL. Added test 1568 to verify. Reported-by: UrsusArctos on github Fixes #6397 Closes #6400
* language: s/behaviour/behavior/gEmil Engler2021-01-0228-50/+51
| | | | | | | | We currently use both spellings the british "behaviour" and the american "behavior". However "behavior" is more used in the project so I think it's worth dropping the british name. Closes #6395
* cmdline-opts/retry.d: mention response code 429 as wellDaniel Stenberg2021-01-021-1/+1
| | | | | Reported-by: Cherish98 Bug: https://curl.se/mail/archive-2020-12/0018.html
* docs/HYPER.md: mention outstanding issuesDaniel Stenberg2021-01-021-0/+18
| | | | | | To make it more obvious to users what doesn't work (yet) Closes #6389
* COPYING/configure: bump copyright year rangeDaniel Stenberg2021-01-012-3/+3
|
* c-hyper: add timecondition to the requestDaniel Stenberg2021-01-013-5/+23
| | | | | | Test 77-78 Closes #6391
* c-hyper: make Digest and NTLM workDaniel Stenberg2020-12-301-0/+7
| | | | | | Test 64, 65, 67, 68, 69, 70, 72 Closes #6390
* examples/curlgtk.c: fix the copyright year rangeDaniel Stenberg2020-12-301-10/+9
| | | | ... and make private functions static.
* docs/examples: adjust prototypes for CURLOPT_READFUNCTIONOlaf Hering2020-12-3036-39/+39
| | | | | | | The type of the buffer in curl_read_callback is 'char *', not 'void *'. Signed-off-by: Olaf Hering <olaf@aepfle.de> Closes #6392
* examples: fix more empty expression statement has no effectDaniel Stenberg2020-12-303-13/+16
| | | | Follow-up to 26e46617b9
* cleanup: fix two empty expression statement has no effectDaniel Stenberg2020-12-302-6/+9
| | | | Follow-up to 26e46617b9
* configure: set -Wextra-semi-stmt for clang with --enable-debugDaniel Stenberg2020-12-291-0/+1
| | | | | | | To have it properly complain on empty statements with no effect. Ref: #6376 Closes #6378