0acf0bce | 28-Sep-2024 |
Viktor Szakats |
tests: simplify `pathhelp.pm`, avoid using external tools Instead of calling the shell and external tools, rely on Perl functions like `Cwd::getcwd()`, `Cwd::abs_path()`, `Cygwin::posix_
tests: simplify `pathhelp.pm`, avoid using external tools Instead of calling the shell and external tools, rely on Perl functions like `Cwd::getcwd()`, `Cwd::abs_path()`, `Cygwin::posix_to_win_path()`, `Cygwin::win_to_posix_path()` to retrieve the current directory and convert between POSIX and Windows formats. This adds native Windows Perl support, avoids most failure modes and makes format guessing and other internal functions unnecessary. Also: - delete unused `sys_native_path()`. - delete redundant `normalize_path()` because Perl `abs_path()` already does it. Cherry-picked from #14949 Closes #15111
show more ...
|
6fd5a977 | 02-Oct-2024 |
Daniel Stenberg |
wolfssl: convert malloc + memcpys to dynbuf for cipher string Closes #15124 |
b5d453ef | 02-Oct-2024 |
Daniel Stenberg |
lib: avoid assigning 'result' temporarily Closes #15122 |
23386872 | 02-Oct-2024 |
Daniel Stenberg |
multi: make multi_handle_timeout use the connect timeout For all states before MSTATE_DO the connect timeout needs to be considered. Regression since #13371 (be659030ba078d6) sh
multi: make multi_handle_timeout use the connect timeout For all states before MSTATE_DO the connect timeout needs to be considered. Regression since #13371 (be659030ba078d6) shipped in 8.8.0 Reported-by: Deniz Sökmen Fixes #15100 Closes #15119
show more ...
|
8eb98331 | 02-Oct-2024 |
Daniel Stenberg |
GHA/labeler: adjust some docs patterns Follow-up to 20aa8d8f31527 and 0e06603b23183 that moved and removed some docs. Closes #15121 |
39697dea | 01-Oct-2024 |
Daniel Stenberg |
tests: remove debug requirement on 38 tests For all tests using -O that were previously relying on a debug build and the CURL_TESTDIR environment variable, use the plain --output-dir opt
tests: remove debug requirement on 38 tests For all tests using -O that were previously relying on a debug build and the CURL_TESTDIR environment variable, use the plain --output-dir option instead so that they can run proper in non-debug builds. Closes #15114
show more ...
|
8c76ae31 | 02-Oct-2024 |
Daniel Stenberg |
vtls: skip a "useless assignment" Pointed out by CodeSonar Closes #15117 |
b0c82239 | 30-Sep-2024 |
Daniel Stenberg |
tool: support --show-headers AND --remote-header-name By keeping the headers in memory until we know the target file name, then output them all. Previously this option combinati
tool: support --show-headers AND --remote-header-name By keeping the headers in memory until we know the target file name, then output them all. Previously this option combination would cause an error. Add test 1310 and 1492 to verify. Adjusted test 1460 to work in the new conditions. Closes #15110
show more ...
|
bc6072d2 | 02-Oct-2024 |
Viktor Szakats |
GHA/macos: update comment with new Xcode default for macos-13 [ci skip] |
96fc2b88 | 01-Oct-2024 |
Viktor Szakats |
GHA/macos: drop unsupported Xcode version references Closes #15115 |
bf44536e | 01-Oct-2024 |
Viktor Szakats |
GHA/macos: delete `macos-12` jobs, update matrix for `macos-14` - Days of `macos-12` are numbered: https://github.com/actions/runner-images/issues/10721 Drop 5 affected jobs, rep
GHA/macos: delete `macos-12` jobs, update matrix for `macos-14` - Days of `macos-12` are numbered: https://github.com/actions/runner-images/issues/10721 Drop 5 affected jobs, replaced by `macos-15` ones added earlier today. - Drop Xcode 14 and 16 from `macos-14` jobs. Following up upstream announcement: https://github.com/actions/runner-images/issues/10703 (No active jobs are affected by this.) Follow-up to 4b4ff444dd68308e8938a1e5c33e0c8b9390d1da #15108 Closes #15113
show more ...
|
4b4ff444 | 01-Oct-2024 |
Viktor Szakats |
GHA/macos: Sequoia chores, fixes for llvm 18 - add `macos-15` Sequoia to combinations jobs. - add `llvm@18` to combinations jobs for `macos-15`. - fix cmake, autotools conf
GHA/macos: Sequoia chores, fixes for llvm 18 - add `macos-15` Sequoia to combinations jobs. - add `llvm@18` to combinations jobs for `macos-15`. - fix cmake, autotools configurations for llvm 18. It requires `CMAKE_OSX_SYSROOT` for cmake, and `--sysroot` within `CC` for both cmake and autotools. (Also add `--target` to `CC` for all jobs.) - stop `brew update` on `macos-12`. `macos-12` is Monterey. Homebrew stopped providing binaries for it after the latest macOS was out. It means newer versions of packages have to be built from source, which is slow and undesired. Try to avoid it using this trick. If it doesn't work, `macos-12` jobs will have to be dropped. - update Xcode support matrix. Ref: https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md Closes #15108
show more ...
|
aa092012 | 01-Oct-2024 |
Viktor Szakats |
tests: fixup `checkcmd` `PATH` on non-unixy platforms Do not add unixy system directories to `PATH` when looking up commands on Windows, MS-DOS or OS/2. Cherry-picked from #1494
tests: fixup `checkcmd` `PATH` on non-unixy platforms Do not add unixy system directories to `PATH` when looking up commands on Windows, MS-DOS or OS/2. Cherry-picked from #14949 Closes #15106
show more ...
|
f88fb1c8 | 20-Sep-2024 |
Viktor Szakats |
tests: fix shell quoting on native Windows Perl Cherry-picked from #14949 Closes #15105 |
9c1ab7fa | 01-Oct-2024 |
Viktor Szakats |
tests: fix `%POSIX_PWD` on native Windows Perl Though this variable isn't used in any of the current tests. Cherry-picked from #14949 Closes #15104 |
ca9106c1 | 29-Sep-2024 |
Viktor Szakats |
tests: replace `%PWD` with `%SSH_PWD` in SCP/SFTP tests Cherry-picked from #14949 Closes #15103 |
10ddf4c6 | 01-Oct-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
303c0cf7 | 30-Sep-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
CI: bump actions/checkout from 4.1.7 to 4.2.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0. - [Release notes](https://github.com/actions/checkout/rel
CI: bump actions/checkout from 4.1.7 to 4.2.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/692973e3d937129bcbf40652eb9f2f61becf3332...d632683dd7b4114ad314bca15554477dd762a938) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Closes #15095
show more ...
|
43cbe53e | 30-Sep-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
CI: bump github/codeql-action from 3.26.8 to 3.26.10 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.10. - [Release notes](https://github.com/gi
CI: bump github/codeql-action from 3.26.8 to 3.26.10 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.10. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/294a9d92911152fe08befb9ec03e240add280cb3...e2b3eafc8d227b0241d48be5f425d47c2d750a13) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Closes #15094
show more ...
|
85a81d27 | 01-Oct-2024 |
Daniel Stenberg |
docs/libcurl: expand multi documentation curl_multi_init - mention the caches held by the handle curl_multi_cleanup - mention that the socket callback might be invoked by this f
docs/libcurl: expand multi documentation curl_multi_init - mention the caches held by the handle curl_multi_cleanup - mention that the socket callback might be invoked by this function Closes #15109
show more ...
|
c72cefea | 30-Sep-2024 |
Daniel Stenberg |
select: use poll() if existing, avoid poll() with no sockets poll() on macOS 10.12 was deemed broken in 2016 when we discovered that it misbehaves when provided with no sockets to wait f
select: use poll() if existing, avoid poll() with no sockets poll() on macOS 10.12 was deemed broken in 2016 when we discovered that it misbehaves when provided with no sockets to wait for. The HAVE_POLL_FINE is used to mark a poll() implementation that behaves correctly: it *should* still wait the timeout time. curl has therefore opted to use select() on Apple operating systems ever since. To avoid the risk that this or other breakage cause problems. However, using select() internally is also bad because it suffers from problems when using file descriptors beyond 1024. This change makes poll() used if it is present, but if there is no sockets to wait for it avoids using poll() and instead falls back to select() - but without any sockets to wait for there is no 1024 problem. This removes all previous special-handling involving HAVE_POLL_FINE. ref: https://daniel.haxx.se/blog/2016/10/11/poll-on-mac-10-12-is-broken/ Closes #15096
show more ...
|
72d2090f | 01-Oct-2024 |
Stefan Eissing |
ftp: fix 0-length last write on upload from stdin When uploading FTP with unknown length, we write a last 0-length chunk with the EOS flag set. OpenSSL's SSL_write() errors on such a wri
ftp: fix 0-length last write on upload from stdin When uploading FTP with unknown length, we write a last 0-length chunk with the EOS flag set. OpenSSL's SSL_write() errors on such a write. Skip writing 0-length data to TLS backends instead. Add test in FTPS for such uploads to verify. Fixes #15101 Reported-by: Denis Goleshchikhin Closes #15102
show more ...
|
68c35861 | 30-Sep-2024 |
Viktor Szakats |
tests: replace hard-coded `/dev/null` with variable - add variable for the null device filename and use that in Perl code. - initialize this variable with `NUL` on native Windows. -
tests: replace hard-coded `/dev/null` with variable - add variable for the null device filename and use that in Perl code. - initialize this variable with `NUL` on native Windows. - add `%DEV_NULL` variable and use it in tests. Fixes `The system cannot find the path specified.` messages seen when running `runtests.pl` with native Windows Perl. Also adjust code to not break mcedit syntax highlighting. Cherry-picked from #14949 Closes #15098
show more ...
|
31a29fc6 | 30-Sep-2024 |
Viktor Szakats |
tests: add and use `%PERL` variable to refer to the Perl binary To ensure Perl invocations within tests call the same Perl binary used for running the tests, as specified or auto-detecte
tests: add and use `%PERL` variable to refer to the Perl binary To ensure Perl invocations within tests call the same Perl binary used for running the tests, as specified or auto-detected via `PERL` env (autotools) or `PERL_EXECUTABLE` setting (cmake). Instead of the first `perl` executable found in `PATH`.) Cherry-picked from #14949 Closes #15097
show more ...
|
f6cb707b | 29-Sep-2024 |
Viktor Szakats |
tests: replace `%PWD` with `%FILE_PWD` for `file://` Before this patch not all tests used `%FILE_PWD` with the `file://` protocol. Keep `%PWD` for test1145, to keep it fail on W
tests: replace `%PWD` with `%FILE_PWD` for `file://` Before this patch not all tests used `%FILE_PWD` with the `file://` protocol. Keep `%PWD` for test1145, to keep it fail on Windows like the test expects. Cherry-picked from #14949 Closes #15090
show more ...
|