b102763c | 06-Aug-2024 |
Stefan Eissing |
curl: fix --test-event --parallel (in debug-builds) Fix implementation in curl using libuv to process parallel transfers. Add pytest capabilities to run test cases with --test-e
curl: fix --test-event --parallel (in debug-builds) Fix implementation in curl using libuv to process parallel transfers. Add pytest capabilities to run test cases with --test-event. - fix uv_timer handling to carry correct 'data' pointing to uv context. - fix uv_loop handling to reap and add transfers when possible - fix return code when a transfer errored Closes #14413
show more ...
|
1b254487 | 05-Aug-2024 |
Jan Venekamp <1422460+jan2000@users.noreply.github.com> |
curl: warn on unsupported SSL options Closes #14406 |
5c2ab55a | 05-Aug-2024 |
Jan Venekamp <1422460+jan2000@users.noreply.github.com> |
vtls: add SSLSUPP_CIPHER_LIST Added SSLSUPP_CIPHER_LIST so be able to differniate SSL Backends that support CURLOPT_SSL_CIPHER_LIST. Closes #14406 |
cd4aee15 | 05-Aug-2024 |
Daniel Stenberg |
tests: ignore QUIT from FTP protocol comparisons - QUIT is not an important FTP command - curl only sends it "best effort", meaning it might not be sent - it is a known "flaky" thing
tests: ignore QUIT from FTP protocol comparisons - QUIT is not an important FTP command - curl only sends it "best effort", meaning it might not be sent - it is a known "flaky" thing in test output because of this Closes #14404
show more ...
|
b3490c5b | 07-Aug-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
06c5829d | 06-Aug-2024 |
Stefan Eissing |
curl: support repeated use of the verbose option; -vv etc - make mentioning `-v` on the curl command line increase the verbosity of the trace output - related discussion https://gi
curl: support repeated use of the verbose option; -vv etc - make mentioning `-v` on the curl command line increase the verbosity of the trace output - related discussion https://github.com/curl/curl/discussions/13810 - make a single -v revert all previous -v+ changes - make --no-verbose also reset all trace configs Closes #13977
show more ...
|
53146dd2 | 06-Aug-2024 |
Daniel Stenberg |
tool_help: handle longer lines, exit on too long Follow-up to 9a0cf56471c1a - increase the buffer to handle 160 characters manpage lines - add another assert - if the line b
tool_help: handle longer lines, exit on too long Follow-up to 9a0cf56471c1a - increase the buffer to handle 160 characters manpage lines - add another assert - if the line buffer gets full, abort Ideally, we add another step in the build process that makes the build fail if this long lines are used. Closes #14422
show more ...
|
48818a41 | 06-Aug-2024 |
Daniel Stenberg |
tests/runner: only allow [!A-Za-z0-9_-] in %if feature names ... in the %if preprocessor parser. This guards against accidentally getting a carriage-return part of the feature n
tests/runner: only allow [!A-Za-z0-9_-] in %if feature names ... in the %if preprocessor parser. This guards against accidentally getting a carriage-return part of the feature name. Fixes #14403 Closes #14411
show more ...
|
b0394b15 | 06-Aug-2024 |
Daniel Stenberg |
runtests: if DISABLED cannot be read, error out Because then runtests cannot disable the right set of tests and things will be annoying. Closes #14411 |
c6fb9895 | 06-Aug-2024 |
Viktor Szakats |
cmake: cleanup header paths - sync build-dir/source-dir header path order with autotools, by including build-dir first, then source-dir. This prevents out-of-tree builds breaking
cmake: cleanup header paths - sync build-dir/source-dir header path order with autotools, by including build-dir first, then source-dir. This prevents out-of-tree builds breaking due to leftover generated headers in the source tree. - tests/unit: move `src` ahead of `libtest` in header path, syncing with autotools. - stop adding non-existing generated `include` dir to header path. There are no generated `include` headers and this directory is either missing in out-of-tree builds or the same as the one already added globally via the root `CMakeLists.txt`. - lib: stop adding a duplicate source include directory to the header path. It's already added globally via the root `CMakeLists.txt`. - lib: stop adding the project root to the header path. - docs/examples: drop internal header paths. Examples do not and should not use internal headers. - replace `curl_setup_once.h` in comments with `curl_setup.h`, the header actually used, and also referred to in autotools comments. - add comment why we need `src` in include path for `tests/server`. - add quotes around header directories. Closes #14416
show more ...
|
ada8ebe1 | 06-Aug-2024 |
Viktor Szakats |
GHA/macos: enable AppleIDN in autotools job - make `--with-apple-idn` override libidn2, in sync with cmake and `lib/curl_setup.h`. - sync detection function name with cmake.
GHA/macos: enable AppleIDN in autotools job - make `--with-apple-idn` override libidn2, in sync with cmake and `lib/curl_setup.h`. - sync detection function name with cmake. - limit AppleIDN feature check to Darwin. (also drop !WinIDN precondition check.) Follow-up to 8de8fe8c98309c8b6183b22cc2e209ce4648173b #14401 Closes #14419
show more ...
|
7b1c0ab7 | 06-Aug-2024 |
Viktor Szakats |
Makefile.mk: fixup enabling libidn2 Replicate the method used by autotools and cmake to enable libidn2. This way `lib/curl_setup.h` sets `USE_LIBIDN2` automatically. Before this
Makefile.mk: fixup enabling libidn2 Replicate the method used by autotools and cmake to enable libidn2. This way `lib/curl_setup.h` sets `USE_LIBIDN2` automatically. Before this patch, `USE_LIBIDN2` was enabled directly, shortcutting internal logic prioritizing IDN backends. (This is academic now because `Makefile.mk` no longer supports other IDN backends. But still useful for clarity.) Closes #14421
show more ...
|
ea3dfcb3 | 06-Aug-2024 |
Viktor Szakats |
cmake: drop unused `HAVE_IDNA_STRERROR` Unused since 9c91ec778104ae3b744b39444d544e82d5ee9ece Closes #14420 |
6712bd60 | 06-Aug-2024 |
Viktor Szakats |
cmake: show CMake platform/compiler flags To better understand which is active in which build job. Closes #14417 |
dcc52095 | 06-Aug-2024 |
Daniel Stenberg |
GHA: run badwords check on tests/*.md too With several wording updates accordingly. Closes #14412 |
91fcbc5d | 06-Aug-2024 |
Daniel Stenberg |
dist: drop buildconf The documented and mandated step has been to not use buildconf but to invoke 'autoreconf -fi' for four years already. This change only drops buildconf from
dist: drop buildconf The documented and mandated step has been to not use buildconf but to invoke 'autoreconf -fi' for four years already. This change only drops buildconf from the release tarball, it remains present in git for now. Follow-up to 85868537d6d5b8 Closes #14412
show more ...
|
8577f4ca | 01-Aug-2024 |
Tal Regev |
cmake: add math library when using wolfssl and ngtcp2 Closes #14343 |
bfa939d0 | 05-Aug-2024 |
Yedaya Katsman |
docs: mention "@-" in more places Closes #14402 |
67d5e362 | 06-Aug-2024 |
Viktor Szakats |
cmake: replace an `MSVC_VERSION` with `MSVC` Where the actual version is not relevant. Follow-up to ce81aeb877c242a173f7eecf02dd2723a0cbce42 Closes #14410 |
72ae0d86 | 05-Aug-2024 |
Viktor Szakats |
cmake: use numeric comparison for `HAVE_WIN32_WINNT` Turns out CMake supports numeric comparison with hexadecimal values. Confirmed in GHA/linux-old with CMake 3.7.2. I could not find
cmake: use numeric comparison for `HAVE_WIN32_WINNT` Turns out CMake supports numeric comparison with hexadecimal values. Confirmed in GHA/linux-old with CMake 3.7.2. I could not find documentation about this, but our CMakeLists.txt already used it before this patch. Extend that method to two more comparisons. Also pad the value in the existing one to 4 digits. The padding/lowercasing logic when setting `HAVE_WIN32_WINNT` is no longer required, but keep it anyway for uniform log output. Follow-up to 2100d9fde267eea68f8097ff0a8ba7b3c9742c7f #12044 Closes #14409
show more ...
|
8de8fe8c | 05-Aug-2024 |
Daniel Stenberg |
configure: detect AppleIDN Follow-up to add22feeef07858307 Closes #14401 |
232302f8 | 04-Aug-2024 |
Viktor Szakats |
cmake: add Linux CI job, fix pytest with cmake - extend existing Linux workflow with CMake support. Including running pytest the first time with CMake. - cmake: generate `test
cmake: add Linux CI job, fix pytest with cmake - extend existing Linux workflow with CMake support. Including running pytest the first time with CMake. - cmake: generate `tests/config` and `tests/http/config.ini`. Required for pytest tests. Uses basic detection logic. Feel free to take it from here. Also dump config files in a CI step for debugging purposes. - cmake: build `tests/http/clients` programs. - fix portability issues with `tests/http/clients` programs. Some of them use `getopt()`, which is not supported by MSVC. Fix the rest to compile in CI (old-mingw-w64, MSVC, Windows). - GHA/linux: add CMake job matching an existing autotools one. - GHA/linux: test `-DCURL_LIBCURL_VERSIONED_SYMBOLS=ON` in the new CMake job. - reorder testdeps to build server, client tests first and then libtests and units, to catch errors in the more complex/unique sources earlier. - sort list in `tests/http/clients/Makefile.inc`. Closes #14382
show more ...
|
f7d5f470 | 05-Aug-2024 |
Viktor Szakats |
cmake: add support for `CURL_USE_LIBUV` option Also use an `#undef` hack for CMake Unity builds to avoid the previously included `memdebug.h` header messing up the declarations pulled in
cmake: add support for `CURL_USE_LIBUV` option Also use an `#undef` hack for CMake Unity builds to avoid the previously included `memdebug.h` header messing up the declarations pulled in by `uv.h`: ``` In file included from ~/curl/bld/src/CMakeFiles/curl.dir/Unity/unity_0_c.c:88: In file included from ~/curl/src/tool_operate.c:54: In file included from /usr/local/Cellar/libuv/1.48.0/include/uv.h:71: In file included from /usr/local/Cellar/libuv/1.48.0/include/uv/unix.h:34: /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/netdb.h:269:7: error: expected parameter declarator void freeaddrinfo(struct addrinfo *); ^ ~/curl/lib/memdebug.h:167:31: note: expanded from macro 'freeaddrinfo' curl_dbg_freeaddrinfo(data, __LINE__, __FILE__) ^ ``` Follow-up to 38d334e3e17f16107921299a6d7b6654f6ec553b #14298 Closes #14399
show more ...
|
e64e62cc | 05-Aug-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
GHA/windows: bump msys2/setup-msys2 from 2.24.0 to 2.24.1 Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.24.0 to 2.24.1. - [Release notes](https://github.com/msys
GHA/windows: bump msys2/setup-msys2 from 2.24.0 to 2.24.1 Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.24.0 to 2.24.1. - [Release notes](https://github.com/msys2/setup-msys2/releases) - [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md) - [Commits](https://github.com/msys2/setup-msys2/compare/5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2...ddf331adaebd714795f1042345e6ca57bd66cea8) --- updated-dependencies: - dependency-name: msys2/setup-msys2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes #14396
show more ...
|
cf3e3d93 | 04-Aug-2024 |
Austin Moore |
aws_sigv4: fix canon order for headers with same prefix If a request containing two headers that have equivalent prefixes (ex. "x-amz-meta-test:test" and "x-amz-meta-test-two:test2") AWS
aws_sigv4: fix canon order for headers with same prefix If a request containing two headers that have equivalent prefixes (ex. "x-amz-meta-test:test" and "x-amz-meta-test-two:test2") AWS expects the header with the shorter name to come first. The previous implementation used `strcmp` on the full header. Using the example, this would result in a comparison between the ':' and '-' chars and sort "x-amz-meta-test-two" before "x-amz-meta-test", which produces a different "StringToSign" than the one calculated by AWS. Test 1976 verifies Closes #14370
show more ...
|