f81f351b | 02-Aug-2024 |
Viktor Szakats |
tidy-up: OS names Use these words and casing more consistently across text, comments and one curl tool output: AIX, ALPN, ANSI, BSD, Cygwin, Darwin, FreeBSD, GitHub, HP-UX, Linux,
tidy-up: OS names Use these words and casing more consistently across text, comments and one curl tool output: AIX, ALPN, ANSI, BSD, Cygwin, Darwin, FreeBSD, GitHub, HP-UX, Linux, macOS, MS-DOS, MSYS, MinGW, NTLM, POSIX, Solaris, UNIX, Unix, Unicode, WINE, WebDAV, Win32, winbind, WinIDN, Windows, Windows CE, Winsock. Mostly OS names and a few more. Also a couple of other minor text fixups. Closes #14360
show more ...
|
a4ad7dc5 | 04-Aug-2024 |
Viktor Szakats |
dist: add missing `docs/examples/CMakeLists.txt` Follow-up to dfdd978f7c60224dffe2aac25b436dc0a5cd0186 #13491 Closes #14380 |
1159dc35 | 04-Aug-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
0a94578a | 03-Aug-2024 |
Daniel Stenberg |
maketgz: accept option to include latest commit hash If the second argument to the script is "commit", then this will generate a file named `docs/tarball-commit.txt` that contains the la
maketgz: accept option to include latest commit hash If the second argument to the script is "commit", then this will generate a file named `docs/tarball-commit.txt` that contains the latest commit hash (git rev-parse HEAD) at the time the script runs. Doing this breaks the reproducibility so it will not be used for "real" releases but is meant for automated daily snapshots and similar. Reported-by: Dan Fandrich Fixes #14363 Closes #14369
show more ...
|
9a0cf564 | 03-Aug-2024 |
Daniel Stenberg |
curl: --help [option] displays documentation for given cmdline option Since the documentation text blob might be gzipped, it needs to search for what to output in a streaming manner. It
curl: --help [option] displays documentation for given cmdline option Since the documentation text blob might be gzipped, it needs to search for what to output in a streaming manner. It then first searches for "\nALL OPTIONS". Then, it looks for the start to display at "\n -[option]" and stops again at "\n -". Except for the last option in the man page, which ends at "\nFILES" - the subtitle for the section following all options in the manpage. Test 1707 to 1710 verify Closes #13997
show more ...
|
9b1e4b46 | 04-Aug-2024 |
Daniel Stenberg |
tool_operate: support --dump-header % to direct to stderr Similar to how --trace and --trace-ascii already do it. Added test 1489 to verify Closes #13992 |
e26eefd9 | 03-Aug-2024 |
Daniel Stenberg |
tool_operate: for -O, use "default" as filename when the URL has none ... or pick the last directory part from the path if available. Instead of returning error. Add test 6
tool_operate: for -O, use "default" as filename when the URL has none ... or pick the last directory part from the path if available. Instead of returning error. Add test 690 and 691 to verify. Test 76 and 2036 no longer apply. Closes #13988
show more ...
|
cb829f99 | 04-Aug-2024 |
David Sardari |
doh-url.md: point out DOH server IP pinning Closes #14377 Signed-off-by: David Sardari <d@duxsco.de> |
4f198c85 | 04-Aug-2024 |
Viktor Szakats |
tests: fixup `tests/data/Makefile.am` references Follow-up to f5b826532f2c564ef240df0ba2f3287d521df711 #14357 Reported-by: Stefan Eissing Fixes #14371 Closes #14372 |
1556951c | 04-Aug-2024 |
Viktor Szakats |
GHA/non-native: ignore FreeBSD FTP test results They are flaky. |
93d1af40 | 03-Aug-2024 |
Stefan Eissing |
pytests: add tests for HEAD requests in all HTTP versions Closes #14367 |
acbc6b70 | 12-Jul-2024 |
Viktor Szakats |
cmake: tidy-ups - tidy-up comments. - use lowercase, underscore prefixed names for internal variables. - use `IN LISTS` and `IN ITEMS` in `foreach()` loops. - rename variable nam
cmake: tidy-ups - tidy-up comments. - use lowercase, underscore prefixed names for internal variables. - use `IN LISTS` and `IN ITEMS` in `foreach()` loops. - rename variable name `OUTPUT` to a more distinctive one. - tidy-up `STREQUAL` syntax. - delete commented code. - indent/whitespace. Closes #14197
show more ...
|
b64d9d7d | 03-Aug-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
272233e4 | 03-Aug-2024 |
Daniel Stenberg |
docs/cmdline-opts: update see-also to use show-headers Since --include is now deprecated since 82c53f821fa3fd4 |
b80798c2 | 20-Jul-2024 |
Daniel Stenberg |
getparam: make --rate accept "number of units" Do no more than 5 transfers per 15 seconds with "5/15s" or limit it to 3 transfers per 4 hours with "3/4h" etc. Previously it woul
getparam: make --rate accept "number of units" Do no more than 5 transfers per 15 seconds with "5/15s" or limit it to 3 transfers per 4 hours with "3/4h" etc. Previously it would always only work with a single time unit. Ref: #14242 Closes #14245
show more ...
|
2d8464c4 | 03-Aug-2024 |
Viktor Szakats |
GHA/windows: move Cygwin into its own workflow Cygwin runs stable but slow, while native Windows in the same workflow runs fast but unreliable (hangs). GHA requires all jobs to finish be
GHA/windows: move Cygwin into its own workflow Cygwin runs stable but slow, while native Windows in the same workflow runs fast but unreliable (hangs). GHA requires all jobs to finish before allowing to re-run failed ones. Before this patch this meant waiting for the slow Cygwin jobs to re-run hung native jobs. After this patch Cygwin jobs run in their own workflow, allowing to re-run broken Windows jobs earlier. Follow-up to 0d125287296857fc4a931a0c20d0ffcb1f731807 #14236 Closes #14366
show more ...
|
82c53f82 | 10-Jul-2024 |
Daniel Stenberg |
tool_getparam: make --show-headers the same as --include Simply a name alias that better explains what the option does. Closes #13987 |
709a6a39 | 25-Jul-2024 |
Stefan Eissing |
cfilters: send flush Since data can be held in connection filter buffers when sending gives EAGAIN, add methods to query this and perform flushing of those buffers. The transfer
cfilters: send flush Since data can be held in connection filter buffers when sending gives EAGAIN, add methods to query this and perform flushing of those buffers. The transfer loop will continue sending until all upload data is processed and the connection is flushed. - add `CF_QUERY_SEND_PENDING` to query filters - add `CF_CTRL_DATA_SEND_FLUSH` to flush filters - change `Curl_req_want_send()` to query the connection if it needs flushing - use `Curl_req_want_send()` to determine the POLLOUT in the PERFORMING multi state - implement flush handling in the HTTP/2 connection filter Closes #14271
show more ...
|
911c3166 | 18-Jul-2024 |
Stefan Eissing |
lib: add eos flag to send methods Adds a `bool eos` flag to send methods to indicate that the data is the last chunk the invovled transfer wants to send to the server. This will
lib: add eos flag to send methods Adds a `bool eos` flag to send methods to indicate that the data is the last chunk the invovled transfer wants to send to the server. This will help protocol filters like HTTP/2 and 3 to forward the stream's EOF flag and also allow to EAGAIN such calls when buffers are not yet fully flushed. Closes #14220
show more ...
|
0472afe5 | 11-Jul-2024 |
Stefan Eissing |
vtls: init ssl peer only once - check that `struct ssl_peer` is only initialized once - fix vtls peer init to run only once - check in peer init that hostname is not empty, fail othe
vtls: init ssl peer only once - check that `struct ssl_peer` is only initialized once - fix vtls peer init to run only once - check in peer init that hostname is not empty, fail otherwise Closes #14152
show more ...
|
5a9262a3 | 12-Jul-2024 |
Stefan Eissing |
url: dns_entry related improvements Replace Curl_resolv_unlock() with Curl_resolv_unlink(): -replace inuse member with refcount in Curl_dns_entry - pass Curl_dns_entry ** t
url: dns_entry related improvements Replace Curl_resolv_unlock() with Curl_resolv_unlink(): -replace inuse member with refcount in Curl_dns_entry - pass Curl_dns_entry ** to unlink, so it gets always cleared - solve potential (but unlikley) UAF in FTP's handling of looked up Curl_dns_entry. Esp. do not use addr information after unlinking an entry. In reality, the unlink will not free memory, as the dns entry is still referenced by the hostcache. But this is not safe and relying on no other code pruning the cache in the meantime. - pass permanent flag when adding a dns entry instead of fixing timestamp afterwards. url.c: fold several static *resolve_* functions into one. Closes #14195
show more ...
|
2372a591 | 23-Jul-2024 |
Stefan Eissing |
Curl_rand_bytes to control env override - in DEBUGBUILD, all specifying if true random numbers are desired or simulated ones via CURL_ENTROPY - allows to use randoms in other DEBUG
Curl_rand_bytes to control env override - in DEBUGBUILD, all specifying if true random numbers are desired or simulated ones via CURL_ENTROPY - allows to use randoms in other DEBUG checks to not interfere with the CURL_ENTROPY - without this change, any Curl_rand() use will alter results of some AUTHENTICATION methods like DIGEST Closes #14264
show more ...
|
0324d557 | 22-Jun-2023 |
Dan Fandrich |
CI: enable parallel testing in CI builds The test-ci target now uses 2 processes by default, but the amount of parallelism is tuned for each CI service and build environment based on
CI: enable parallel testing in CI builds The test-ci target now uses 2 processes by default, but the amount of parallelism is tuned for each CI service and build environment based on results of a number of test runs. Some CI services use super- oversubscribed build machines that can barely run the curl tests already with no parallelism without frequently failing with timing-induced failures. These continue to be run without parallelism. Other services provide two fast, unloaded cores and these run with 14 processes, which is a good default for this kind of environment. Here's a summary of the number of test processes by CI service: Appveyor - 2 (Windows MSVC), 1 (others) Azure - 2 Circle CI - 14 Cirrus - 28 (macOS), 14 (Linux), 7 (FreeBSD), 5 (macOS torture), 2 (Windows) GitHub Actions - 3 (macOS), 2 (Linux) Some of these are a bit conservative to keep timing-induced flakiness down. The net result is that the first test results should arrive only 3 minutes after a commit submission. Changes merged via separate commits: - 2a7c8b27fdd266894fe24d6d0f5d853ea843dff4 #14171 - 72341068a2d8f1b94a26add16830c725cc4054e6 - efce544418971b064d9fc8183a6caa582c54559b #14244 - c6cf411bacf97f230db160e543d0cc3bbe5b9aba Ref: #10818 Closes #11510
show more ...
|
fadb2ee6 | 03-Aug-2024 |
Viktor Szakats |
CI: realign cmake build settings (for nghttp2, libidn2) - nghttp2 is now on by default, adjust build configuration accordingly. Follow-up to 87aa4ebd821ebae0023df8658360c724efcf5e00 #1
CI: realign cmake build settings (for nghttp2, libidn2) - nghttp2 is now on by default, adjust build configuration accordingly. Follow-up to 87aa4ebd821ebae0023df8658360c724efcf5e00 #14136 - GHA/macos: disable libidn2 in combination builds, syncing with autotools. Otherwise it's now auto-detected via pkg-config by default. Follow-up to f43adc2c4978f7f82a359e89186e58a31d17b0ad #14137 Closes #14364
show more ...
|
8a3740bc | 29-Jun-2024 |
Viktor Szakats |
curl: support embedding a CA bundle Add the ability to embed a CA bundle into the curl binary. It is used when no other runtime or build-time option set one. This helps curl-for
curl: support embedding a CA bundle Add the ability to embed a CA bundle into the curl binary. It is used when no other runtime or build-time option set one. This helps curl-for-win macOS and Linux builds to run standalone, and also helps Windows builds to avoid picking up the CA bundle from an arbitrary (possibly world-writable) location (though this behaviour is not currently disablable). Usage: - cmake: `-DCURL_CA_EMBED=/path/to/curl-ca-bundle.crt` - autotools: `--with-ca-embed=/path/to/curl-ca-bundle.crt` - Makefile.mk: `CURL_CA_EMBED=/path/to/curl-ca-bundle.crt` Also add new command-line option `--dump-ca-embed` to dump the embedded CA bundle to standard output. Closes #14059
show more ...
|