fff6afb0 | 23-Oct-2024 |
Viktor Szakats |
cmake: rename local variables to underscore-lowercase Also drop `_curl` prefix, which isn't necessary for underscore variables and wasn't used in most other cases. Follow-up to
cmake: rename local variables to underscore-lowercase Also drop `_curl` prefix, which isn't necessary for underscore variables and wasn't used in most other cases. Follow-up to d8de4806e1463f589a1b54de1da7d6396de94d11 #14571 Closes #15397
show more ...
|
f48609d4 | 24-Oct-2024 |
Viktor Szakats |
cmake: limit `CURL_STATIC_CRT` to MSVC `CURL_STATIC_CRT` supports MSVC only. Limit its effect to this compiler. Closes #15403 |
c9b54fad | 23-Oct-2024 |
Viktor Szakats |
cmake: use `list(APPEND)` on `CURL_INCLUDES` It does the same as the `set()` used before this patch. Makes the code easier to read. Closes #15399 |
7e94680c | 23-Oct-2024 |
Viktor Szakats |
cmake: tidy up `CURL_DISABLE_FORM_API` initialization Initialization of `CURL_DISABLE_FORM_API` depends on another option. Make sure the other option is initialized before this one.
cmake: tidy up `CURL_DISABLE_FORM_API` initialization Initialization of `CURL_DISABLE_FORM_API` depends on another option. Make sure the other option is initialized before this one. Due to the defaults and logic this did not cause an issue. Also fix the order of two other lines to match with the rest. Closes #15394
show more ...
|
ec68fb5a | 24-Oct-2024 |
Viktor Szakats |
cmake: drop obsolete items from `TODO` and `INSTALL-CMAKE` - INSTALL-CMAKE: delete `Current flaws in the curl CMake build` section. #1123 was fixed in 7e93637acd9f5741ac4c09bbca353ac8d
cmake: drop obsolete items from `TODO` and `INSTALL-CMAKE` - INSTALL-CMAKE: delete `Current flaws in the curl CMake build` section. #1123 was fixed in 7e93637acd9f5741ac4c09bbca353ac8da42bb17 #2443 - TODO: delete item 3.2. Follow-up to 1cb4f5d6e8e470638759a48ba99fda230089712f #1879 Closes #15405
show more ...
|
02ac5547 | 24-Oct-2024 |
Daniel Stenberg |
docs/libcurl/opts/Makefile.inc: alphasort the options list |
469f5368 | 24-Oct-2024 |
Daniel Stenberg |
curl: detect ECH support dynamically, not at build time Closes #15402 |
8cb2d5f4 | 22-Oct-2024 |
Stefan Eissing |
quic: use the session cache with wolfSSL as well Use session cache for QUIC when built with quictls or wolfSSL. Add test_017_10 for verifying QUIC TLS session reuse when built with
quic: use the session cache with wolfSSL as well Use session cache for QUIC when built with quictls or wolfSSL. Add test_017_10 for verifying QUIC TLS session reuse when built with quictls, gnutls or wolfssl. Closes #15358
show more ...
|
b34b757c | 24-Oct-2024 |
Kazuho Oku |
ngtcp2: set max window size to 10x of initial (128KB) Just as the quiche backend does Closes #15392 |
358eae42 | 24-Oct-2024 |
Stefan Eissing |
bearssl: improved session handling, test exceptions Add length to session saves, making it clear that we are storing a byte blob and allowing memcmp() on sameness check. Remove
bearssl: improved session handling, test exceptions Add length to session saves, making it clear that we are storing a byte blob and allowing memcmp() on sameness check. Remove some pytest skips for bearssl to see if they now work properly in CI. Closes #15395
show more ...
|
30f66c8b | 24-Oct-2024 |
Stefan Eissing |
mbedtls: handle session as blobs Use mbedtls_ssl_session_load() and mbedtls_ssl_session_save() to convert TLS sessions to byte blobs for the session cache. Fix a skip message to
mbedtls: handle session as blobs Use mbedtls_ssl_session_load() and mbedtls_ssl_session_save() to convert TLS sessions to byte blobs for the session cache. Fix a skip message to better indicate why the test is skipped for mbedtls. Closes #15398
show more ...
|
3722ed03 | 24-Oct-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
1056889f | 24-Oct-2024 |
Daniel Stenberg |
url.md: clarify - the specified URL can also get data sent to it - rephrase the scheme guessing part - mention target options for each URL for saving data - mention --remote-name
url.md: clarify - the specified URL can also get data sent to it - rephrase the scheme guessing part - mention target options for each URL for saving data - mention --remote-name-all - remove "warning" and make it into normal text Closes #15396
show more ...
|
9255e7a1 | 24-Oct-2024 |
Daniel Stenberg |
version: minor cleanups - remove typecasts and parentheses in zstd_version() - create and use oldap_version() for OpenLDAP - create and use psl_version() for libpsl - reduce the
version: minor cleanups - remove typecasts and parentheses in zstd_version() - create and use oldap_version() for OpenLDAP - create and use psl_version() for libpsl - reduce the size of the 40 byte buffers to 30 bytes - use the brotil/zstd like the others (add the lib name in the functions) - create and use idn_version for IDN builds - handle (unlikely) error from ldap_get_option Closes #15393
show more ...
|
ac7ae08f | 08-Sep-2024 |
Jay Satiro |
schannel: reclassify extra-verbose schannel_recv messages - Create a new macro SCH_DEV() to manage verbose debug messages that are only useful for debugging Schannel recv decryption.
schannel: reclassify extra-verbose schannel_recv messages - Create a new macro SCH_DEV() to manage verbose debug messages that are only useful for debugging Schannel recv decryption. schannel_recv contains a lot of useful debug messages to help debug the function, however in practice they are not otherwise useful and showing them in debug builds adds a lot of noise. To show these messages curl must now be built with CURL_SCHANNEL_DEV_DEBUG defined. Prior to this change many, but not all, extra-verbose messages were wrapped in DEBUGF() so they were only shown in debug builds. Ref: https://github.com/curl/curl/issues/14807 Closes #14826
show more ...
|
0325e1b9 | 22-Oct-2024 |
Sinkevich Artem |
mprintf: treat `%o` as unsigned, add tests for `%o`, `%x`, `%X` `%x` and `%X` were already treated as unsigned, but `%o` was not, even though it was used with unsigned numbers.
mprintf: treat `%o` as unsigned, add tests for `%o`, `%x`, `%X` `%x` and `%X` were already treated as unsigned, but `%o` was not, even though it was used with unsigned numbers. Closes #15348
show more ...
|
7ca164fa | 21-Oct-2024 |
Sinkevich Artem |
mprintf: do not ignore length modifiers of `%o`, `%x`, `%X` There are uses of `%lx` and `%zx` in the codebase, but `parsefmt` interpreted them as `%x`. Closes #15348 |
f901ab84 | 23-Oct-2024 |
Stefan Eissing |
schannel: ignore error on recv beyond close notify When receiving data, schannel does a recv from the lower filters, e.g. the socket, *before* it decrypts and analyses the buffered data
schannel: ignore error on recv beyond close notify When receiving data, schannel does a recv from the lower filters, e.g. the socket, *before* it decrypts and analyses the buffered data it already has. When that buffer contains a close-notify, e.g. the end of the TLS stream, any error on the previous receive from the socket are not applicable to its return codes. Example from #153345: a server sends a close notify and closes its connection. The encrypted data, including the close notify is received. Another receive on the sockets gets a CONNABORTED which curl reports as CURLE_RECV_ERROR. Schannel analyses its bufferi, sees the close notify and early returns to the caller. On this return, the error on the attempted receive does not apply. Closes #15381
show more ...
|
38c57bdf | 19-Oct-2024 |
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
GHA: update five dependencies - rojopolis/spellcheck-github-actions digest to ab8ac45 - nghttp2/nghttp2 to v1.64.0 - actions/cache digest to 6849a64 - github/codeql-action digest
GHA: update five dependencies - rojopolis/spellcheck-github-actions digest to ab8ac45 - nghttp2/nghttp2 to v1.64.0 - actions/cache digest to 6849a64 - github/codeql-action digest to 6624720 - Update actions/checkout digest to 11bd719 Closes #15341 Closes #15346 Closes #15365 Closes #15366 Closes #15387
show more ...
|
59831f80 | 23-Oct-2024 |
Daniel Stenberg |
tool_operate: split up the huge single_transfer into sub functions - split up in a few smaller and easier to read functions - simplify several sections - avoid superfluous extra allo
tool_operate: split up the huge single_transfer into sub functions - split up in a few smaller and easier to read functions - simplify several sections - avoid superfluous extra allocations - remove unused debug code Closes #15385
show more ...
|
30da1f59 | 22-Oct-2024 |
Daniel Stenberg |
setopt: split Curl_vsetopt() into several sub functions Reduce the ~3000 line super function into smaller pieces, easier to read and manage. Extract the option's argument earlie
setopt: split Curl_vsetopt() into several sub functions Reduce the ~3000 line super function into smaller pieces, easier to read and manage. Extract the option's argument earlier and use a fixed type instead of using va_arg() everywhere. Closes #15376
show more ...
|
b3816f67 | 22-Oct-2024 |
Viktor Szakats |
cmake: avoid setting `BUILD_TESTING` `BUILD_TESTING` variable is used by other projects and CMake internally. Replace `cmake_dependent_option()` with `option()` and introduce an inte
cmake: avoid setting `BUILD_TESTING` `BUILD_TESTING` variable is used by other projects and CMake internally. Replace `cmake_dependent_option()` with `option()` and introduce an internal variable to track if want and can do testing. Follow-up to #6036 Follow-up to 3a1e798009799be1e9fad30666351b66f250befb #6072 Reported-by: Robert Maynard Fixes #15351 Closes #15355
show more ...
|
7c023c3f | 23-Oct-2024 |
Viktor Szakats |
libssh2: delete duplicate `break` ``` lib/vssh/libssh2.c:2495:7: warning: 'break' will never be executed [-Wunreachable-code-break] break; ^~~~~ ``` CI d
libssh2: delete duplicate `break` ``` lib/vssh/libssh2.c:2495:7: warning: 'break' will never be executed [-Wunreachable-code-break] break; ^~~~~ ``` CI did not catch it due to llvm skipping this check for all #included files. It's designed this way to avoid performance issues and false positive when checking headers: https://github.com/llvm/llvm-project/issues/71046 Closes #15384
show more ...
|
6b440704 | 23-Oct-2024 |
Viktor Szakats |
GHA: drop "3" from openssl names and keys Also: - drop patch suffix from cache key for thread-sanitizer local build Follow-up to 73d2779196f5b4d5b45945e06b4bbdec11b6d921 #15379
GHA: drop "3" from openssl names and keys Also: - drop patch suffix from cache key for thread-sanitizer local build Follow-up to 73d2779196f5b4d5b45945e06b4bbdec11b6d921 #15379 Closes #15383
show more ...
|
b8de0dad | 23-Oct-2024 |
Viktor Szakats |
cmake: tidy up line order [ci skip] |