3774b8a9 | 15-Apr-2024 |
Viktor Szakats |
mbedtls: fix building with v3 in CMake Unity mode Before this patch the internal feature detection macro `HAS_MBEDTLS_RESULT_CODE_BASED_FUNCTIONS` was defined in three files, with an
mbedtls: fix building with v3 in CMake Unity mode Before this patch the internal feature detection macro `HAS_MBEDTLS_RESULT_CODE_BASED_FUNCTIONS` was defined in three files, with an incomplete logic in one of them. In Unity mode that spilled into another source file and broke the build. Closes #13377
show more ...
|
edc2702a | 15-Apr-2024 |
Viktor Szakats |
cmake: add librtmp/rtmpdump option and detection Add CMake option `USE_LIBRTMP`. Disabled by default. This library requires OpenSSL TLS-backend when linked statically. Foll
cmake: add librtmp/rtmpdump option and detection Add CMake option `USE_LIBRTMP`. Disabled by default. This library requires OpenSSL TLS-backend when linked statically. Follow-up to 6eb9e65781fa1fd8a0bcfe0715187a3a35f09ae4 #13364 Closes #13373
show more ...
|
a362962b | 04-Apr-2024 |
Stephen Farrell |
TLS: add support for ECH (Encrypted Client Hello) An EXPERIMENTAL feature used with CURLOPT_ECH and --ech. Closes #11922 |
565d28dc | 15-Apr-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
be659030 | 05-Apr-2024 |
Daniel Stenberg |
multi: introduce SETUP state for better timeouts Since we can go to the CONNECT state from PENDING, potentially multiple times for a single transfer, this change introdues a SETUP state
multi: introduce SETUP state for better timeouts Since we can go to the CONNECT state from PENDING, potentially multiple times for a single transfer, this change introdues a SETUP state that happens before CONNECT when doing a new transfer. Now, doing a redirect on a handle goes back to SETUP (not CONNECT like before) and we initilize the connect timeout etc in SETUP. Previously, we would do it in CONNECT but that would make it unreliable in cases where a transfer goes in and out between CONNECT and PENDING multiple times. SETUP is transient, so the handle never actually stays in that state. Additionally: take care of timeouts of PENDING transfers in curl_multi_perform() Ref: #13227 Closes #13371
show more ...
|
6eb9e657 | 14-Apr-2024 |
Tal Regev |
cmake: forward `USE_LIBRTMP` option to C Define in C `USE_LIBRTMP` if user requested it from cmake. Closes #13364 |
dde4b385 | 15-Apr-2024 |
Daniel Stenberg |
curl_version_info: provide librtmp version Ref: https://github.com/curl/curl/pull/13364#issuecomment-2054151942 Reported-by: talregev on github Closes #13368 |
e1f1ec02 | 15-Apr-2024 |
blankie |
docs: clarify CURLOPT_MAXFILESIZE and CURLOPT_MAXFILESIZE_LARGE The bounds of the size parameter were not specified, and nor was it specified how to disable the maximum file size check.
docs: clarify CURLOPT_MAXFILESIZE and CURLOPT_MAXFILESIZE_LARGE The bounds of the size parameter were not specified, and nor was it specified how to disable the maximum file size check. The documentation also incorrectly stated that CURLOPT_MAXFILESIZE always returns CURLE_OK and that CURLOPT_MAXFILESIZE_LARGE only returns CURLE_OK or CURLE_UNKNOWN_OPTION. It also did not mention what the default value is, which is zero. This commit updates the documentation to make note of all these things. Closes #13372
show more ...
|
5e46c290 | 14-Apr-2024 |
Patrick Monnerat |
OS400: post-shellcheck changes adjustments Build scripts must be executed by the os/400 shell (sh), not bash which is a PASE program. Shell function get_make_vars() escaping rew
OS400: post-shellcheck changes adjustments Build scripts must be executed by the os/400 shell (sh), not bash which is a PASE program. Shell function get_make_vars() escaping reworked to match $() subcommand construct. Follow-up to 8a622baf9e9233241bbe93d6599c99cb46478614 Closes #13366
show more ...
|
8bac53ec | 13-Apr-2024 |
Viktor Szakats |
OS400: tidy-up Drop/fixup mods trying to make some syntax highlighters happier. Follow-up to 8a622baf9e9233241bbe93d6599c99cb46478614 #13309 Closes #13362 |
a1ec035a | 04-Apr-2024 |
Daniel Stenberg |
multi: timeout handles even without connection When there is a "change" in a multi handle and pending handles are moved back to the main list to be retested if they can proceed further (
multi: timeout handles even without connection When there is a "change" in a multi handle and pending handles are moved back to the main list to be retested if they can proceed further (for example a previous transfer completed or a connection has a confirmed multiplexed state), the timeout check in multi_runsingle() would not trigger because it required an established connection. This could make a pending tranfer go back to pending state even though it had been "in progress" for a longer time than permitted. By removing the requirement for an associated connection, the timeout check will be done proper even for transfers that has not yet been assigned one. Ref #13227 Reported-by: Rahul Krishna M Closes #13276
show more ...
|
6e8a6039 | 14-Apr-2024 |
Patrick Monnerat |
mprintf: check fputc error rather than matching returned character OS/400 ascii fputc wrapper deviates from the posix standard by the fact that it returns the ebcdic encoding of the orig
mprintf: check fputc error rather than matching returned character OS/400 ascii fputc wrapper deviates from the posix standard by the fact that it returns the ebcdic encoding of the original ascii character. Testing for a matching value for success will then always fail. This commit replaces the chariacter comparison by an explicit error return check. Follow-up to ef2cf58 Closes #13367
show more ...
|
0469c68f | 13-Apr-2024 |
Viktor Szakats |
ci: add CMake build variation, fixup libssh detection in `linux-old` To test without c-ares and hit `easy_lock.h` on an old system. Use this new build step to introduce small variations,
ci: add CMake build variation, fixup libssh detection in `linux-old` To test without c-ares and hit `easy_lock.h` on an old system. Use this new build step to introduce small variations, and also test libssh2. Also add workaround to existing job to enable libssh. (CMake's generic auto-detection doesn't seem to work here.): ``` CMake Warning at CMakeLists.txt:908 (find_package): Could not find a package configuration file provided by "libssh" with any of the following names: libsshConfig.cmake libssh-config.cmake ``` Ref: https://github.com/curl/curl/actions/runs/8661316091/job/23750974358#step:5:69 Closes #13361
show more ...
|
49f83c30 | 11-Apr-2024 |
Viktor Szakats |
lib: merge `ENABLE_QUIC` C macro into `USE_HTTP3` Before this patch `lib/curl_setup.h` defined these two macros right next to each other, then the source code used them interchangeably.
lib: merge `ENABLE_QUIC` C macro into `USE_HTTP3` Before this patch `lib/curl_setup.h` defined these two macros right next to each other, then the source code used them interchangeably. After this patch, `USE_HTTP3` guards all HTTP/3 / QUIC features. (Like `USE_HTTP2` does for HTTP/2.) `ENABLE_QUIC` is no longer used. This patch doesn't change the way HTTP/3 is enabled via autotools or CMake. Builders who enabled HTTP/3 manually by defining both of these macros via `CPPFLAGS` can now delete `-DENABLE_QUIC`. Closes #13352
show more ...
|
e411c98f | 11-Apr-2024 |
Viktor Szakats |
build: prefer `USE_IPV6` macro internally (was: `ENABLE_IPV6`) Before this patch, two macros were used to guard IPv6 features in curl sources: `ENABLE_IPV6` and `USE_IPV6`. This patch ma
build: prefer `USE_IPV6` macro internally (was: `ENABLE_IPV6`) Before this patch, two macros were used to guard IPv6 features in curl sources: `ENABLE_IPV6` and `USE_IPV6`. This patch makes the source use the latter for consistency with other similar switches. `-DENABLE_IPV6` remains accepted for compatibility as a synonym for `-DUSE_IPV6`, when passed to the compiler. `ENABLE_IPV6` also remains the name of the CMake and `Makefile.vc` options to control this feature. Closes #13349
show more ...
|
de66e8ad | 10-Apr-2024 |
Dan Fandrich |
DISTROS: mark rolling release distros These are ones that are unlikely to have back-ported curl patches. Closes #13353 |
68ce971c | 12-Apr-2024 |
Daniel Stenberg |
mbedtls: cut off trailing newlines from debug logs To avoid double newlines in the output. Reported-by: Gisle Vanem Fixes #13321 Closes #13356 |
16bad892 | 12-Apr-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
8482ce53 | 04-Apr-2024 |
Stefan Eissing |
CURLINFO_REQUEST_SIZE: fixed, add tests for transfer infos reported - tests for 'size_request' and other stats reported, for presence and consistency Reported-by: Jonatan Vela
CURLINFO_REQUEST_SIZE: fixed, add tests for transfer infos reported - tests for 'size_request' and other stats reported, for presence and consistency Reported-by: Jonatan Vela Fixes #13269 Closes #13275
show more ...
|
0a4419ae | 11-Apr-2024 |
Viktor Szakats |
dist: add files missing from release tarball Closes #13346 |
bba4c313 | 08-Apr-2024 |
Viktor Szakats |
ci: parallelize more, tidy up cmake commands (distcheck, macos) Also enable `-DCURL_WERROR=ON` in the Linux cmake build test. Closes #13343 |
0f7be5a5 | 11-Apr-2024 |
Toon Claes |
docs: add CURLOPT_NOPROGRESS to CURLOPT_XFERINFOFUNCTION example It's important to set `CURLOPT_NOPROGRESS` to `0` if you want your transfer callback function, set by `CURLOPT_XFERINFOFU
docs: add CURLOPT_NOPROGRESS to CURLOPT_XFERINFOFUNCTION example It's important to set `CURLOPT_NOPROGRESS` to `0` if you want your transfer callback function, set by `CURLOPT_XFERINFOFUNCTION`, getting called. To emphasize this to the users, add this to the code example. Closes #13348
show more ...
|
10879379 | 10-Apr-2024 |
RainRat |
misc: fix typos Closes #13344 |
bfe54b0e | 16-Mar-2024 |
Colin Leroy-Mira |
file: add support for getting basic directory listings Not supported on Windows (yet) Closes #13137 |
e14daeb8 | 10-Apr-2024 |
Viktor Szakats |
ci: add curl-for-win builds: Linux MUSL, macOS, Windows Linux MUSL (llvm/clang), macOS Apple clang, Windows (llvm/clang). Configured with HTTP/2 and HTTP/3 and other dependencies (t
ci: add curl-for-win builds: Linux MUSL, macOS, Windows Linux MUSL (llvm/clang), macOS Apple clang, Windows (llvm/clang). Configured with HTTP/2 and HTTP/3 and other dependencies (the default curl-for-win) for a comprehensive build test. ``` curl 8.8.0-DEV (x86_64-unknown-linux-musl) libcurl/8.8.0-DEV LibreSSL/3.9.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.61.0 ngtcp2/1.4.0 nghttp3/1.2.0 Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTP3 HTTPS-proxy IPv6 Largefile libz NTLM PSL SSL threadsafe UnixSockets zstd curl 8.8.0-DEV (x86_64-apple-darwin) libcurl/8.8.0-DEV LibreSSL/3.9.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.61.0 ngtcp2/1.4.0 nghttp3/1.2.0 Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTP3 HTTPS-proxy IPv6 Largefile libz NTLM PSL SSL threadsafe UnixSockets zstd curl 8.8.0-DEV (x86_64-w64-mingw32) libcurl/8.8.0-DEV LibreSSL/3.9.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 WinIDN libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.61.0 ngtcp2/1.4.0 nghttp3/1.2.0 Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL SSPI threadsafe UnixSockets zstd ``` Limited to x64, because for build testing the additional CPUs don't add much value compared to the extra build time. They can be enabled easily if deemed useful. To the extent of curl-for-win configuration options, it's trivial to add further build combinations. Closes #13335
show more ...
|