551baf7d | 15-Aug-2024 |
Daniel Stenberg |
tests: move the disabling of 500 for hyper from CI to DISABLED Follow-up to 136504195ae63 Closes #14551 |
56032044 | 15-Aug-2024 |
Daniel Stenberg |
curl: fix the -w urle.* variables urle.scheme, urle.user, urle.password and urle.options mistakenly operated on the original URL instead of the *effective* (last) URL. Add test
curl: fix the -w urle.* variables urle.scheme, urle.user, urle.password and urle.options mistakenly operated on the original URL instead of the *effective* (last) URL. Add test 474 to verify. Reported-by: Gruber Glass Fixes #14550 Closes #14560
show more ...
|
2401ee68 | 13-Aug-2024 |
Viktor Szakats |
cmake: show warning if libpsl is not found Also: - explicitly disable libpsl in CI to avoid configure warning, where necessary. - add TODO to make this warning an error (to mat
cmake: show warning if libpsl is not found Also: - explicitly disable libpsl in CI to avoid configure warning, where necessary. - add TODO to make this warning an error (to match autotools.) Follow-up to 2998874bb61ac6ef3b72d6a61467cd2aaf6e53ea #12661 Closes #14533
show more ...
|
c90a3f16 | 13-Aug-2024 |
Stefan Eissing |
mime: avoid inifite loop in client reader Curl_mime_read() may go into an infinite loop when called with buffer lengths <= 4. Some encoders, like base64, are not prepared for that.
mime: avoid inifite loop in client reader Curl_mime_read() may go into an infinite loop when called with buffer lengths <= 4. Some encoders, like base64, are not prepared for that. In the client reader for mime data, skip such small reads. The upload buffers will get flushed eventually and larger reads will happen again. Improves robustness of test652 which triggered the loop on blocked sends. Closes #14532
show more ...
|
9f23c8f2 | 14-Aug-2024 |
Viktor Szakats |
cmake: fix and tidy up c-ares builds, enable in more CI jobs - set `CARES_NO_DEPRECATED` to avoid c-ares deprecation warnings. Like autotools does. - drop unused c-ares header
cmake: fix and tidy up c-ares builds, enable in more CI jobs - set `CARES_NO_DEPRECATED` to avoid c-ares deprecation warnings. Like autotools does. - drop unused c-ares header directory when building libtests and test servers. - disable TrackMemory (aka `CURLDEBUG`) feature for MSVC builds. It fails on test 558 and 1330, saying that TrackMemory isn't working. Left a FIXME about it. - GHA/macos: enable c-ares in a cmake job. - GHA/windows: enable c-ares in MSVC job. Fixes #14202 - GHA/windows: add c-ares mingw autotools job with tests. (move `--with-windows-unicode` option from 'default' job to this one to keep the former "default".) Put these tests on ignore for now: ``` FAIL 472: 'aws-sigv4 with query' HTTP, aws-sigv4 FAIL 1299: 'Send "OPTIONS *" with --request-target' HTTP, --request-target FAIL 1613: 'Send "OPTIONS *" with --request-target to a proxy' HTTP, HTTP proxy, --request-target ``` Ref: https://github.com/curl/curl/actions/runs/10388126947/job/28765761441#step:15:5902 472: fails with mingw despite Unicode enabled. 1299, 1613: seem like a case of expanding '*' to a filename. - GHA/windows: enable c-ares in mingw cmake job. Closes #14541
show more ...
|
304a349e | 14-Aug-2024 |
Viktor Szakats |
GHA/configure-vs-cmake: add macOS build, fix issues - sync cmake macOS `OS` value manually with the autotools one. - stop exporting/subst-ing `HAVE_OPENSSL_QUIC` from autotools. Th
GHA/configure-vs-cmake: add macOS build, fix issues - sync cmake macOS `OS` value manually with the autotools one. - stop exporting/subst-ing `HAVE_OPENSSL_QUIC` from autotools. The variable was only used internally. - exclude a dependency detection symbol. - allow to run when the workflow itself was updated. - simplify cmake command. - fix indentation. Closes #14546
show more ...
|
27848019 | 13-Aug-2024 |
Viktor Szakats |
cmake: add missing `pkg-config` hints to Find modules - brotli, c-ares, libpsl, libssh2, mbedtls, rustls: Use `pkg-config` for path hints and version info. Syncing them up with t
cmake: add missing `pkg-config` hints to Find modules - brotli, c-ares, libpsl, libssh2, mbedtls, rustls: Use `pkg-config` for path hints and version info. Syncing them up with the rest of Find modules. - GHA/macos: force-disable libssh2 with cmake to sync with autotools. After this patch, cmake auto-detects libssh2 in this job. Closes #14545
show more ...
|
dd3b3eca | 15-Aug-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
13650419 | 15-Jul-2024 |
Alex Snast |
getinfo: add CURLINFO_POSTTRANSFER_TIME_T Returns the time, in microseconds, from the start until the last byte is sent by libcurl (i.e. the request is sent off). Closes #14189 |
c0233a35 | 12-Aug-2024 |
Daniel Stenberg |
hash: provide asserts to verify API use - converted the Curl_hash_count() macro to a function - Discourage accessing struct fields directly - Document the internal API in H
hash: provide asserts to verify API use - converted the Curl_hash_count() macro to a function - Discourage accessing struct fields directly - Document the internal API in HASH.md Closes #14503
show more ...
|
41a01033 | 04-Aug-2024 |
Tal Regev |
GHA/windows: enable HTTP/3 in wolfSSL MSVC job Closes #14383 |
fd662fb3 | 10-Aug-2024 |
Tal Regev |
GHA/windows: add GnuTLS to MSVC jobs - enable GnuTLS in MultiSSL job. - add new GnuTLS job with HTTP/3 enabled. Replacing the `!ssl` job. Use `Release` mode to work arou
GHA/windows: add GnuTLS to MSVC jobs - enable GnuTLS in MultiSSL job. - add new GnuTLS job with HTTP/3 enabled. Replacing the `!ssl` job. Use `Release` mode to work around a vcpkg package issue, ending up depending on both the debug and release versions of the gnutls DLL, one of them miss to copy next to the binary. - cmake: add `pkg-config` detection for GnuTLS. Co-authored-by: Tal Regev Fixes #14494 Closes #14495
show more ...
|
ed76a23f | 13-Aug-2024 |
Jan Venekamp <1422460+jan2000@users.noreply.github.com> |
cmake: add rustls Closes #14534 |
db39c668 | 14-Aug-2024 |
Viktor Szakats |
cmake: sync up result variable names in Find modules - bearssl, c-ares, gss, libpsl, libssh2, mbedtls: Before this patch these Find modules returned results via `<NAME>_INCLUDE_D
cmake: sync up result variable names in Find modules - bearssl, c-ares, gss, libpsl, libssh2, mbedtls: Before this patch these Find modules returned results via `<NAME>_INCLUDE_DIR` and `<NAME>_LIBRARY`. This patch makes them return `<NAME>_INCLUDE_DIRS` (note the `S`) and `<NAME>_LIBRARIES` like other modules already did. - bearssl, mbedtls: Before this patch these Find modules allowed custom configuration via `<NAME>_INCLUDE_DIRS` (note the `S`). This patch makes them accept `<NAME>_INCLUDE_DIR`, like the rest of the modules did. Deprecate the old variables, but keep accepting them for compatibility. - bearssl: add missing `mark_as_advanced()` call. Closes #14542
show more ...
|
65f5caee | 13-Aug-2024 |
Viktor Szakats |
cmake: tidy up Find modules Smoothen out minor differences between Find modules. - brotli, nghttp2: drop redundant `FOUND_VAR` specifiers from `find_package_handle_standard_ar
cmake: tidy up Find modules Smoothen out minor differences between Find modules. - brotli, nghttp2: drop redundant `FOUND_VAR` specifiers from `find_package_handle_standard_args()` calls. This function sets both `<NAME_UPPER>_FOUND` and `<NAME>_FOUND` by default. - brotli: set result vars only when found. - brotli: add missing `mark_as_advanced()` call. - brotli: delete custom fail message. - mbedtls, bearssl: use `REQUIRED_VARS` instead of `DEFAULT_MSG`. - msh3, quiche: set `<NAME>_VERSION` (via pkg-config). - wolfssl: also use `PC_WOLFSSL_INCLUDEDIR`, `PC_WOLFSSL_LIBDIR` as hints. - libpsl, libssh2, zstd: clear temporary variables used for version detection. - gss, msh3, nghttp2, nghttp3, ngtcp2, quiche, zstd: fix to apply `mark_as_advanced()` to internal variables only. Closes #14538
show more ...
|
5abfe451 | 14-Aug-2024 |
Viktor Szakats |
cmake: update list of "advanced" variables To hide them from the CMake GUI by default. Closes #14540 |
1c42ea40 | 13-Aug-2024 |
Stefan Eissing |
smtp: add tracing feature Add `smtp` as tracing feature, use CURL_TRC_SMTP() in code to trace operations. Closes #14531 |
8058bbae | 13-Aug-2024 |
Stefan Eissing |
TODO: mqtt and gopher test fails on network blocks Add descriptions of the test failures and how to reproduce them to the TODO for both protocols. Closes #14528 |
9222f312 | 13-Aug-2024 |
Stefan Eissing |
test649: improve robustness Remove check of upload data before the error is triggered as this may vary with network conditions. Closes #14526 |
e434cdb8 | 13-Aug-2024 |
Stefan Eissing |
test587: improve robustness Remove check of server output as upload may abort before request could fully be sent, so server output may be completely missing. Test already used a
test587: improve robustness Remove check of server output as upload may abort before request could fully be sent, so server output may be completely missing. Test already used a 1 second delay to mitigate timing. This change makes timing no longer an issue. Closes #14525
show more ...
|
68dad8c4 | 12-Aug-2024 |
Stefan Eissing |
test httpd, tweak cipher list Configure the AES 256 instead of the AES 128 cipher in the test httpd to make scorecard testing between httpd and caddy more comparable. Adapt test
test httpd, tweak cipher list Configure the AES 256 instead of the AES 128 cipher in the test httpd to make scorecard testing between httpd and caddy more comparable. Adapt test_17 expectations, now that AES 128 can no longer, but 256 can now be negotiated. Closes #14502
show more ...
|
623b8775 | 12-Aug-2024 |
Stefan Eissing |
gnutls/wolfssl: improve error message when certificate fails Give more detailed reasons for certificate failures where available in gnutls and wolfssi to allow user to understand the cau
gnutls/wolfssl: improve error message when certificate fails Give more detailed reasons for certificate failures where available in gnutls and wolfssi to allow user to understand the cause of the failure. Closes #14501
show more ...
|
6905b1f8 | 14-Aug-2024 |
Stefan Eissing |
hyper: call Curl_req_set_upload_done() Hyper implementation was missing the call to Curl_req_set_upload_done() as it works differently than out normal request upload handling. C
hyper: call Curl_req_set_upload_done() Hyper implementation was missing the call to Curl_req_set_upload_done() as it works differently than out normal request upload handling. Closes #14539
show more ...
|
22d292b3 | 12-Aug-2024 |
Stefan Eissing |
urldata: introduce `data->mid`, a unique identifier inside a multi `data->id` is unique in *most* situations, but not in all. If a libcurl application uses more than one connection cache
urldata: introduce `data->mid`, a unique identifier inside a multi `data->id` is unique in *most* situations, but not in all. If a libcurl application uses more than one connection cache, they will overlap. This is a rare situations, but libcurl apps do crazy things. However, for informative things, like tracing, `data->id` is superior, since it assigns new ids in curl's serial curl_easy_perform() use. Introduce `data->mid` which is a unique identifer inside one multi instance, assigned on multi_add_handle() and cleared on multi_remove_handle(). Use the `mid` in DoH operations and also in h2/h3 stream hashes. Reported-by: 罗朝辉 Fixes #14414 Closes #14499
show more ...
|
ad6320b8 | 13-Aug-2024 |
Daniel Stenberg |
tool_paramhlp: bump maximum post data size in memory to 16GB - stick to 2GB for 32bit systems. Reported-by: Tim Yuer Fixes #14521 Closes #14523 |