c0a9db84 | 17-Sep-2024 |
Daniel Stenberg |
curl_url_set.md: document HOST handling when URL is parsed When a full URL is set (parsed), the hostname component is stored URL decoded (with default zero flags). While perhaps
curl_url_set.md: document HOST handling when URL is parsed When a full URL is set (parsed), the hostname component is stored URL decoded (with default zero flags). While perhaps surprising and inconsistent, the API has done this for quite some time already and changigtn this now would break existing behaviour. Fixes #14942 Reported-by: Venkat Krishna R Closes #14946
show more ...
|
6d0a48e5 | 18-Sep-2024 |
Daniel Stenberg |
sendf: add condition to max-filesize check Since the max filesize check should not be performed while the body is ignored. Follow-up to aef384a7df23c5f52940112593f Closes #1
sendf: add condition to max-filesize check Since the max filesize check should not be performed while the body is ignored. Follow-up to aef384a7df23c5f52940112593f Closes #14958
show more ...
|
7eb8c048 | 18-Sep-2024 |
Daniel Stenberg |
RELEASE: synced 8.10.1 release |
dabeb542 | 18-Sep-2024 |
Daniel Stenberg |
THANKS: contributors from the 8.10.1 release |
210cf7cd | 17-Sep-2024 |
Viktor Szakats |
GHA/windows: revert enabling SSPI option Because it reduces test coverage significantly: ``` TESTINFO: "curl has SSPI support" 109 times (64, 65, 67, 68, 69, 70, 72, 81, 88 and 100 m
GHA/windows: revert enabling SSPI option Because it reduces test coverage significantly: ``` TESTINFO: "curl has SSPI support" 109 times (64, 65, 67, 68, 69, 70, 72, 81, 88 and 100 more) ``` Follow-up to e53523fef07894991c69d907a7c7794c7ada4ff4 #14859 Closes #14947
show more ...
|
0cfc7fcc | 17-Sep-2024 |
Daniel Stenberg |
tool_cb_wrt: use "curl_response" if no file name in URL Use the same fallback for content-disposition cases as for regular -O Add test692: verify -JO with URL without a file name
tool_cb_wrt: use "curl_response" if no file name in URL Use the same fallback for content-disposition cases as for regular -O Add test692: verify -JO with URL without a file name Reported-by: Brian Inglis Fixes #14939 Closes #14940
show more ...
|
89de5432 | 16-Sep-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
GHA/non-native: bump vmactions/omnios-vm from 1.0.2 to 1.0.6 Bumps [vmactions/omnios-vm](https://github.com/vmactions/omnios-vm) from 1.0.2 to 1.0.6. - [Release notes](https://github.com
GHA/non-native: bump vmactions/omnios-vm from 1.0.2 to 1.0.6 Bumps [vmactions/omnios-vm](https://github.com/vmactions/omnios-vm) from 1.0.2 to 1.0.6. - [Release notes](https://github.com/vmactions/omnios-vm/releases) - [Commits](https://github.com/vmactions/omnios-vm/compare/a61ca1ebafdcb14a9d986928d070c9834ee66fd3...2f97978b477e0a014767f65ecf3656b933541460)
show more ...
|
41290d43 | 16-Sep-2024 |
Viktor Szakats |
GHA/windows: fix bad typo in MSVC GnuTLS stunnel condition Regression from e53523fef07894991c69d907a7c7794c7ada4ff4 #14859 |
8a7efdb8 | 16-Sep-2024 |
Viktor Szakats |
GHA: misc updates: impacket, timeouts, mingw-w64 32-bit - NetBSD: enable impacket. Debatable if this hefty package is worth it for the single SMB test (1451) run curl uses it for.
GHA: misc updates: impacket, timeouts, mingw-w64 32-bit - NetBSD: enable impacket. Debatable if this hefty package is worth it for the single SMB test (1451) run curl uses it for. (on the upside, it seems to install instantly on NetBSD) It's also a versioned package name that requires active maintenance. The unversioned name doesn't work, though that's what the package search returns: https://pkgsrc.se/net/py-impacket - FreeBSD: stop installing impacket deps explicitly. They are automatically installed via the impacket package. - Linux: put time limit on test runs. Started hanging yesterday: linux: https://github.com/curl/curl/actions/runs/10875011573/job/30172946986#step:41:3731 awslc: https://github.com/curl/curl/actions/runs/10879782864/job/30185188509 wolfssl: https://github.com/curl/curl/actions/runs/10879782864/job/30185188509 - distcheck: reduce time limit to 15m (was 30m) Linux tests started to hang, so reduce the timeout from 30 minutes to 15. These jobs normally take 3 to 6 minutes to finish. https://github.com/curl/curl/actions/runs/10879479914 - Windows: add 32-bit MSYS2/mingw-w64 job. Follow-up to e53523fef07894991c69d907a7c7794c7ada4ff4 #14859 Closes #14929
show more ...
|
e53523fe | 11-Sep-2024 |
Viktor Szakats |
CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks CI: - GHA/windows: enable OpenSSH server, SysInternals `handle`, `impacket`. Skip `impacket` on MSYS2 due
CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks CI: - GHA/windows: enable OpenSSH server, SysInternals `handle`, `impacket`. Skip `impacket` on MSYS2 due to install failure. Skip OpenSSH server for old/standalone mingw-w64 (building curl without SSH there.) - GHA/windows: make test tool installs a separate step. - GHA/cygwin: enable OpenSSH server. Skip `impacket`: it's compiling for 7 minutes then breaks. Skip `stunnel` due to sluggish test run performance. (This update is unrelated to Azure jobs.) - GHA/linux: migrate Linux jobs from Azure CI. - GHA/linux: migrate scanbuild job from Azure CI. - GHA/linux: enable libssh2 in a job. Also enable valgrind. - CI/windows: enable SSPI in two jobs. - CI/windows: disable zlib in one more job. - CI/windows: improve `if` condition checking GnuTLS. - CI/windows: ignore SFTP/SCP tests as necessary. - universally ignore SCP tests, they fail everywhere. - ignore test 612. - ignore test 613 616 618 with MSYS2 mingw-w64. - ignore test 614 with libssh. - ignore all SFTP with MSYS2 native. - ignore all SFTP with vcpkg with `libssh2[core,zlib]`. - ignore a couple of SFTP tests with MSYS2 mingw-w64. (This matches settings on Azure CI.) - GHA/windows: ignore failing 1451 'Basic SMB request' test for old mingw-w64 7.3.0 (but not for 9.5.0!): ``` 2024-09-11 21:45:59,738 ERROR smbComNegotiate: b'NT LM 0.12\x00' is not in list [...] curl: (7) Could not connect to server [...] FAIL 1451: 'Basic SMB request' SMB ``` Ref: https://github.com/curl/curl/actions/runs/10816280746/job/30007130770#step:13:3546 - CI/Azure: delete, now moved to GHA. sshserver: - sshserver: fix permissions for SSH host key on Windows, allowing sshd to launch. - sshserver: fix initializing config paths with Cygwin/MSYS2 sshd. - sshserver: fix initializing config paths in parallel builds. - sshserver: delete redundant `DenyUsers`. This also opens the way to allow multiple usernames. - sshserver: fix `AllowUsers` for GHA/windows, by allowing the domainless username again. Follow-up to 3ee7c676ec8ef32e3a9cb4d0fb2929a8335d58db #5721 - sshserver: fix `Deprecated option` warnings in `sshd_config`: ``` D:/a/curl/curl/bld/tests/log/2/server/curl_sshd_config line 7: Deprecated option AuthorizedKeysFile2 D:/a/curl/curl/bld/tests/log/2/server/curl_sshd_config line 25: Deprecated option KeyRegenerationInterval D:/a/curl/curl/bld/tests/log/2/server/curl_sshd_config line 35: Deprecated option RhostsRSAAuthentication D:/a/curl/curl/bld/tests/log/2/server/curl_sshd_config line 36: Deprecated option RSAAuthentication D:/a/curl/curl/bld/tests/log/2/server/curl_sshd_config line 37: Deprecated option ServerKeyBits D:/a/curl/curl/bld/tests/log/2/server/curl_sshd_config line 41: Deprecated option UseLogin ``` - sshserver: fix `Deprecated option` warnings in `ssh_config` with Cygwin/MSYS2. - sshserver: fix dumping config files due to the filenames missing their full paths. - sshserver: add workaround to make `logmsg` messages visible. Before this patch they only went to a file and never shown. runtests: - runtests: log details when these Windows commands are called: `handle`, `taskkill`, `tasklist`. - runtests: add documentation links to Windows tools: `handle`, `taskkill`, `tasklist`, `icacls`. - runtests: add `-t` (kill whole tree) option to `taskkill` in `servers.pm`, syncing it with the other `taskkill` call. Follow-up to bc72a78a11764558639131d51fa8e7c81ee1e113 #14488 - runtests: show warning if Sysinternals `handle` tool is missing. - runtests: drop Windows XP Home compatibility `tskill` call. The call was made on all Windows versions. It's possibly overkill to do this, because XP Home is probably rarely used for running curl tests these days. In case it's needed, it'd be better to put it under an explicit option. - runtests: show Perl version and path. Fix/silence fallouts: - unit2603: fix building with disabled HTTP support. - unit2604: silence `-Woverlength-strings` warnings in C89 mode. - test437, test1614: fix to pass with no-IPv6 builds. Closes #14859
show more ...
|
0af017d6 | 15-Sep-2024 |
Viktor Szakats |
GHA/non-native: install Perl for FreeBSD cmake jobs It was implicitly installed for autotools jobs. Install it explicitly for cmake ones. Closes #14928 |
2b6bdb41 | 15-Sep-2024 |
Viktor Szakats |
cmake: fix MSH3 to appear on the feature list Closes #14927 |
71a83b87 | 15-Sep-2024 |
Viktor Szakats |
GHA/non-native: enable SFTP/SCP tests on FreeBSD It's working now. Possibly fixed in the runner env? Closes #14920 |
0ba70dd1 | 11-Sep-2024 |
Viktor Szakats |
singleuse: drop `Curl_memrchr()` for no-HTTP builds Make single-use function check CI test pass by dropping the global `Curl_memrchr()` function from the build when it has no caller.
singleuse: drop `Curl_memrchr()` for no-HTTP builds Make single-use function check CI test pass by dropping the global `Curl_memrchr()` function from the build when it has no caller. Fixes: ``` Curl_memrchr in curl_memrchr ``` https://github.com/curl/curl/actions/runs/10816280747/job/30007145114 Seen while migrating affected job from Azure to GHA. Ref: #14859 Closes #14919
show more ...
|
5f93cad0 | 15-Sep-2024 |
Viktor Szakats |
GHA: replace make with ninja in Cygwin, MSYS2 and mingw-w64 cmake jobs Speed-ups: - cygwin build: 47s -> 29s - cygwin build tests: 3m12 -> 2m32 - MSYS2 native build: 29s -> 16s
GHA: replace make with ninja in Cygwin, MSYS2 and mingw-w64 cmake jobs Speed-ups: - cygwin build: 47s -> 29s - cygwin build tests: 3m12 -> 2m32 - MSYS2 native build: 29s -> 16s - MSYS2 native build tests: 2m24 -> 1m52 - MSYS2/mingw-w64: already had ninja installed and used implicitly. - linux-mingw-w64-cross: 31s -> 25s before: cygwin: https://github.com/curl/curl/actions/runs/10866939355/job/30155134299 windows: https://github.com/curl/curl/actions/runs/10866939361 after: cygwin: https://github.com/curl/curl/actions/runs/10867861215/job/30157121784 windows: https://github.com/curl/curl/actions/runs/10867861208?pr=14914 Closes #14914
show more ...
|
2e76e1f7 | 15-Sep-2024 |
Viktor Szakats |
GHA/non-native: replace make with ninja in cmake jobs Comparing job times for non-native runners is unreliable, but a speed-up is expected nonetheless. Full job times: - Net
GHA/non-native: replace make with ninja in cmake jobs Comparing job times for non-native runners is unreliable, but a speed-up is expected nonetheless. Full job times: - NetBSD amd64: 14m1 -> 13m15 - OpenBSD amd64: 6m14 -> 5m33 - FreeBSD arm64: 6m10 -> 5m32 Example runs: before: https://github.com/curl/curl/actions/runs/10866939368 after: https://github.com/curl/curl/actions/runs/10870425491?pr=14917 Closes #14917
show more ...
|
8f5d73af | 10-Sep-2024 |
Viktor Szakats |
GHA: add `valgrind` to the job titles using it, and tidy-ups There is a 4-5x difference in test run times. Make the reason more obvious by adding valgrind to the job names. Also
GHA: add `valgrind` to the job titles using it, and tidy-ups There is a 4-5x difference in test run times. Make the reason more obvious by adding valgrind to the job names. Also: - tidy up job names. Closes #14853
show more ...
|
c3a7145a | 15-Sep-2024 |
Viktor Szakats |
GHA/macos: tidy-up - drop redundant `brew autoconf`. It's automatically installed via `automake`. - whitespace |
65168b8e | 11-Sep-2024 |
Tal Regev |
GHA/windows: use libuv for event-based tests on openssl job Use libuv for event-based tests on openssl job. Closes #14868 |
09b21e47 | 29-Aug-2024 |
Tal Regev |
GHA/windows: re-add GnuTLS after upstream fix Re-add GnuTLS. The fix was in this PR: https://github.com/microsoft/vcpkg/pull/40739 Follow-up to a5682d9cb9da3212775bb227488a343d3
GHA/windows: re-add GnuTLS after upstream fix Re-add GnuTLS. The fix was in this PR: https://github.com/microsoft/vcpkg/pull/40739 Follow-up to a5682d9cb9da3212775bb227488a343d32552fd6 #14710 Closes #14864
show more ...
|
8709404f | 15-Sep-2024 |
Viktor Szakats |
GHA/macos: make impacket found by tests Also move impacket installation right before the test run to avoid spending 10s installing if the build fails. Closes #14913 |
c89cc09a | 14-Sep-2024 |
Viktor Szakats |
GHA/macos: replace make with ninja for cmake builds Ninja performs better than GNU Make. Also the generation step is a bit faster. The cost is installing ninja where missing from the ima
GHA/macos: replace make with ninja for cmake builds Ninja performs better than GNU Make. Also the generation step is a bit faster. The cost is installing ninja where missing from the image, and there is no pre-existing package install step. Otherwise the installation is fast because the tool is tiny. (It would probably make sense to include ninja on the runner image; it's a near zero-cost optimization opportunity for all CI jobs using cmake.) Speed-ups: Build step: 3s -> 1s. Build tests step: 37s -> 22s. before: https://github.com/curl/curl/actions/runs/10865247916/job/30151507582?pr=14911 after: https://github.com/curl/curl/actions/runs/10865301046/job/30151610055?pr=14910 Closes #14910
show more ...
|
51fc8996 | 14-Sep-2024 |
Viktor Szakats |
GHA/macos: tidy-ups, install impacket for cmake jobs - install impacket for cmake jobs. - stop installing autotools for cmake jobs. (also saving the extra seconds necessary fo
GHA/macos: tidy-ups, install impacket for cmake jobs - install impacket for cmake jobs. - stop installing autotools for cmake jobs. (also saving the extra seconds necessary for impacket install.) - delete no longer necessary openssl pkg-config patch. - `brew unlink openssl` unconditionally. This is safe, we no longer need it at the default path, and the condition were never met anyway for a while now. - stop installing openssl, it's there on the base image. (it was also missed for cmake, but that's okay) before: https://github.com/curl/curl/actions/runs/10864438947/job/30149718802 after: https://github.com/curl/curl/actions/runs/10865247916/job/30151507582 Closes #14911
show more ...
|
aef384a7 | 13-Sep-2024 |
Daniel Stenberg |
http: make max-filesize check not count ignored bodies Add test 477 to verify Reported-by: MasterInQuestion on github Fixes #14899 Closes #14900 |
7eda757d | 12-Sep-2024 |
Daniel Stenberg |
FTP: partly revert eeb7c1280742f5c8fa48a4340fc1e1a1a2c7075a Since ASCII transfers on FTP means sending CRLF line endings, we should still keep converting them to LF-only on platforms whe
FTP: partly revert eeb7c1280742f5c8fa48a4340fc1e1a1a2c7075a Since ASCII transfers on FTP means sending CRLF line endings, we should still keep converting them to LF-only on platforms where text files typically do not use CRLF. This also DOES NOT convert existing CRLF line endings on ASCII uploads but only does stand-alone LF => CRLF. Regression from eeb7c1280742f5c8 shipped in 8.10.0 Reported-by: finkjsc on github Fixes #14873 Closes #14875
show more ...
|