summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* global_init: debug builds allocates a byte in initbagder/global-cleanupDaniel 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
|
* 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
* tests/unit: fix empty statements with no effectDaniel Stenberg2020-12-291-37/+47
| | | | ... by making macros use "do {} while(0)"
* dns: extend CURLOPT_RESOLVE syntax for adding non-permanent entriesPaul Groke2020-12-296-40/+82
| | | | | | | | | | | | | | | | | | Extend the syntax of CURLOPT_RESOLVE strings: allow using a '+' prefix (similar to the existing '-' prefix for removing entries) to add DNS cache entries that will time out just like entries that are added by libcurl itself. Append " (non-permanent)" to info log message in case a non-permanent entry is added. Adjust relevant comments to reflect the new behavior. Adjust documentation. Extend unit1607 to test the new functionality. Closes #6294
* schannel: fix "empty expression statement has no effect"Daniel Stenberg2020-12-291-8/+6
| | | | | | Bug: https://github.com/curl/curl/commit/8ab78f720ae478d533e30b202baec4b451741579#commitcomment-45445950 Reported-by: Gisle Vanem Closes #6381
* docs: remove redundant "better" in --fail helpDenis Laxalde2020-12-291-1/+1
| | | | Closes #6385
* curl.1: fix typo microsft -> microsoftKevin Ushey2020-12-271-1/+1
| | | | Closes #6380
* misc: assorted typo fixesXhmikosR2020-12-268-11/+11
| | | | Closes #6375
* RELEASE-NOTES: syncedDaniel Stenberg2020-12-261-7/+24
|
* tool_operate: avoid NULL dereference of first_argDaniel Stenberg2020-12-261-1/+1
| | | | | | | Follow-up to 6a5e020d4d2b04a Identified by OSS-Fuzz Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28999 Closes #6377
* misc: fix "warning: empty expression statement has no effect"Daniel Stenberg2020-12-2611-70/+85
| | | | | | | | | | Turned several macros into do-while(0) style to allow their use to work find with semicolon. Bug: https://github.com/curl/curl/commit/08e8455dddc5e48e58a12ade3815c01ae3da3b64#commitcomment-45433279 Follow-up to 08e8455dddc5e4 Reported-by: Gisle Vanem Closes #6376
* KNOWN_BUGS: 6.10 curl never completes Negotiate over HTTPDaniel Stenberg2020-12-261-0/+7
| | | | | Closes #5235 Closes #6370
* writeout: fix NULL dereference for "this url"Daniel Stenberg2020-12-261-1/+2
| | | | | | | | Detected by torture test 1029 Follow-up to 7a90ddf88f5a Closes #6374
* failf: remove newline from formatting stringsDaniel Stenberg2020-12-2524-56/+57
| | | | | | | | | ... as failf adds one itself. Also: add an assert() to failf() that triggers on a newline in the format string! Closes #6365
* CI: fix warning with the latest versionsXhmikosR2020-12-251-9/+0
| | | | | | `git checkout HEAD^2` is no longer needed Closes #6369
* INSTALL: update the list known OSes and CPU archs curl has run onDaniel Stenberg2020-12-251-74/+21
| | | | Closes #6366
* curl: fix handling of -q optionCherish982020-12-231-1/+1
| | | | | | | | The match of the "-q" option (short for "--disable") should: a) allow concatenation with other single-letters; and b) be case-sensitive, lest confusing with "-Q" ("--quote") Closes #6364
* tests/badsymbols.pl: ignore stand-alone single hash linesDaniel Stenberg2020-12-221-0/+3
| | | | | | | | Bug: https://curl.se/mail/lib-2020-12/0084.html Reported-by: Dennis Clarke Assisted-by: Jay Satiro Closes #6355
* curl_easy_pause.3: add multiplexed pause effectsDaniel Stenberg2020-12-221-23/+23
| | | | | | | and generally refresh and update. Remove details for ancient versions. Reviewed-by: Jay Satiro Closes #6360
* curl_easy_pause.3: fix man page referenceJay Satiro2020-12-221-1/+1
| | | | | | Follow-up to ac9a724 from earlier today. Ref: https://github.com/curl/curl/pull/6359
* EXPERIMENTAL: add the Hyper backend to the listDaniel Stenberg2020-12-221-1/+1
| | | | ... of current experimental features in curl.
* speedcheck: exclude paused transfersDaniel Stenberg2020-12-223-0/+11
| | | | | | | | | | | Paused transfers should not be stopped due to slow speed even when CURLOPT_LOW_SPEED_LIMIT is set. Additionally, the slow speed timer is now reset when the transfer is unpaused - as otherwise it would easily just trigger immediately after unpausing. Reported-by: Harry Sintonen Fixes #6358 Closes #6359