11d27cf3 | 04-Apr-2024 |
Viktor Szakats |
cmake: enable `-pedantic-errors` for clang when `CURL_WERROR=ON` clang doesn't have the issues of GCC and old CMake versions. Note: This introduces asymmetry with autotools, which o
cmake: enable `-pedantic-errors` for clang when `CURL_WERROR=ON` clang doesn't have the issues of GCC and old CMake versions. Note: This introduces asymmetry with autotools, which only enables this for GCC. Reviewed-by: Daniel Stenberg Closes #13286
show more ...
|
f43545e9 | 04-Apr-2024 |
Viktor Szakats |
cmake: fix `CURL_WERROR=ON` for old CMake and use it in GHA/linux-old - cmake: fix `-pedantic-errors` for old CMake with `CURL_WERROR=ON` set. `-pedantic-errors` option throws a w
cmake: fix `CURL_WERROR=ON` for old CMake and use it in GHA/linux-old - cmake: fix `-pedantic-errors` for old CMake with `CURL_WERROR=ON` set. `-pedantic-errors` option throws a warning with GCC (all versions) and makes `check_symbol_exists()` fail in CMake versions older than v3.23.0 (2022-03-29), when CMake introduced a workaround: https://gitlab.kitware.com/cmake/cmake/-/issues/13208 https://gitlab.kitware.com/cmake/cmake/-/commit/eeb45401163d831b8c841ef6eba81466b4067b68 https://gitlab.kitware.com/cmake/cmake/-/commit/1ab7c3cd28b27ca162c4559e1026e5cad1898ade Follow-up to 3829759bd042c03225ae862062560f568ba1a231 #12489 - set `CURL_WERROR=ON` for the `linux-old` job in CI. Closes #13282
show more ...
|
20c1b2d7 | 04-Apr-2024 |
Viktor Szakats |
lib: use `#error` instead of invalid syntax in `curl_setup_once.h` Reviewed-by: Daniel Stenberg Closes #13287 |
5ae72551 | 04-Apr-2024 |
Daniel Stenberg |
GHA: on macOS remove $HOME/.curlrc A recent image upgrade added a $HOME/.curlrc by default using --ipv4. Ref: https://github.com/actions/runner-images/pull/9586 Fixes #13284
GHA: on macOS remove $HOME/.curlrc A recent image upgrade added a $HOME/.curlrc by default using --ipv4. Ref: https://github.com/actions/runner-images/pull/9586 Fixes #13284 Closes #13285
show more ...
|
2cac6a49 | 04-Apr-2024 |
Viktor Szakats |
cmake: fixup `DEPENDS` filename Fixing: ``` make[2]: Circular docs/curl-config.1 <- docs/curl-config.1 dependency dropped. make[2]: Circular docs/mk-ca-bundle.1 <- docs/mk-ca-bun
cmake: fixup `DEPENDS` filename Fixing: ``` make[2]: Circular docs/curl-config.1 <- docs/curl-config.1 dependency dropped. make[2]: Circular docs/mk-ca-bundle.1 <- docs/mk-ca-bundle.1 dependency dropped. ``` Ref: https://github.com/curl/curl/actions/runs/8559617487/job/23456740844?pr=13282#step:6:18 Follow-up to 5023ffad2c27d4b916ddb91800f99ecc5d3aad07 #13197 Closes #13283
show more ...
|
b6f2e331 | 04-Apr-2024 |
Viktor Szakats |
GHA: enable unity mode for cmake jobs + tidy-ups Unity mode is not supported by CMake v3.7.2 used in linux-old, but enable it anyway for consistency and to kick in automatically once
GHA: enable unity mode for cmake jobs + tidy-ups Unity mode is not supported by CMake v3.7.2 used in linux-old, but enable it anyway for consistency and to kick in automatically once migrating to a newer old Linux in the future. Also: - replace `CMAKE_COMPILE_WARNING_AS_ERROR` with `CURL_WERROR`. - delete default build option `PICKY_COMPILER=ON`. Closes #13277
show more ...
|
376cd670 | 01-Mar-2024 |
Dan Fandrich |
CI: Add CI build on Debian stretch to test old support This version still has ELTS support and contains some old versions of key components like cmake to help prevent us from breaking th
CI: Add CI build on Debian stretch to test old support This version still has ELTS support and contains some old versions of key components like cmake to help prevent us from breaking that support. Closes #13029
show more ...
|
cfc65fd1 | 03-Apr-2024 |
Stefan Eissing |
request: paused upload on completed download, assess connection A transfer with a completed download that is still uploading needs to check the connection state when it is PAUSEd, since
request: paused upload on completed download, assess connection A transfer with a completed download that is still uploading needs to check the connection state when it is PAUSEd, since connection close/errors would otherwise go unnoticed. Reported-by: Sergey Bronnikov Fixes #13260 Closes #13271
show more ...
|
d5e83eb7 | 03-Apr-2024 |
Daniel Stenberg |
url: do not URL decode proxy crendentials The two options CURLOPT_PROXYUSERNAME and CURLOPT_PROXYPASSWORD set the actual names as-is, not URL encoded. Modified test 503 to use p
url: do not URL decode proxy crendentials The two options CURLOPT_PROXYUSERNAME and CURLOPT_PROXYPASSWORD set the actual names as-is, not URL encoded. Modified test 503 to use percent-encoded strings in the credential strings that should be passed on as-is. Reported-by: Sergey Ogryzkov Fixes #13265 Closes #13270
show more ...
|
29bfde9f | 28-Mar-2024 |
Viktor Szakats |
appveyor: enable cmake unity mode by default Leave one non-unity cmake job. This makes the jobs finish slightly quicker, while giving more coverage for unity issues. Before:
appveyor: enable cmake unity mode by default Leave one non-unity cmake job. This makes the jobs finish slightly quicker, while giving more coverage for unity issues. Before: https://ci.appveyor.com/project/curlorg/curl/builds/49496977 https://ci.appveyor.com/project/curlorg/curl/builds/49500372 After: https://ci.appveyor.com/project/curlorg/curl/builds/49500338 Also fixup unrelated whitespace. Reviewed-by: Daniel Stenberg Closes #13217
show more ...
|
9496d1d6 | 04-Apr-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
bb84f824 | 27-Mar-2024 |
Viktor Szakats |
cmake: speed up libcurl doc building again This time limit the number of files per command to avoid exceeding limitations of certain OS/shell envs. Such known env is Windows wit
cmake: speed up libcurl doc building again This time limit the number of files per command to avoid exceeding limitations of certain OS/shell envs. Such known env is Windows with the `cmd.exe` shell, which features an 8K command-line length limit to this day. Allowlisting `UNIX` to have no limit and using a limit of 200 for other envs to be safe. If there is a way to detect `cmd.exe` and/or we know which precise envs are sensitive to this, we can tweak these conditions further. Even with the low limit, this patch reduces external commands by 200x, making builds much faster. Ref: #12762 2620aa930bc73af1e4c70b10e3125b957b96ecfb (initial) Ref: #13047 f03c85635f35269f1f45b983bf216624f541760a (revert) Reviewed-by: Daniel Stenberg Closes #13207
show more ...
|
19f4263f | 27-Mar-2024 |
Viktor Szakats |
cmake: tidy-up to use `WORKING_DIRECTORY` Reviewed-by: Daniel Stenberg Closes #13206 |
5023ffad | 27-Mar-2024 |
Viktor Szakats |
cmake: generate misc manpages and install `mk-ca-bundle.pl` - install `mk-ca-bundle.pl` like autotools does. - generate and install `mk-ca-bundle.1` and `curl-config.1` like a
cmake: generate misc manpages and install `mk-ca-bundle.pl` - install `mk-ca-bundle.pl` like autotools does. - generate and install `mk-ca-bundle.1` and `curl-config.1` like autotools. This fixes tests 1140 and 1173. Reported-by: Dan Fandrich Fixes #13194 - add option `BUILD_MISC_DOCS` to control building the above two manpages. Enabled by default. - appveyor: stop disabling tests 1140 and 1173. Reviewed-by: Daniel Stenberg Closes #13197
show more ...
|
a15342dd | 17-Mar-2024 |
Fabian Keil |
wolfssl: plug memory leak in wolfssl_connect_step2() Fixes: test 2034...[simple HTTPS GET with DER public key pinning] ==61829== 22,610 (3,744 direct, 18,866 indirect)
wolfssl: plug memory leak in wolfssl_connect_step2() Fixes: test 2034...[simple HTTPS GET with DER public key pinning] ==61829== 22,610 (3,744 direct, 18,866 indirect) bytes in 1 blocks are definitely lost in loss record 51 of 54 ==61829== at 0x484BB74: malloc (vg_replace_malloc.c:446) ==61829== by 0x4B53A80: wolfSSL_Malloc (memory.c:344) ==61829== by 0x4C1C8E1: wolfSSL_X509_new (x509.c:5326) ==61829== by 0x4C3977D: d2i_X509orX509REQ (x509.c:3628) ==61829== by 0x4C1D1F4: wolfSSL_X509_d2i (x509.c:3664) ==61829== by 0x4C1C37B: wolfSSL_X509_dup (x509.c:13425) ==61829== by 0x4C197DB: wolfSSL_get_peer_certificate (ssl.c:18765) ==61829== by 0x33297C: wolfssl_connect_step2 (wolfssl.c:875) ==61829== by 0x331669: wolfssl_connect_common (wolfssl.c:1287) ==61829== by 0x3303E9: wolfssl_connect_nonblocking (wolfssl.c:1319) ==61829== by 0x32FE89: ssl_connect_nonblocking (vtls.c:510) ==61829== by 0x32DBE5: ssl_cf_connect (vtls.c:1679) ==61829== by 0x27ABD7: Curl_conn_cf_connect (cfilters.c:307) ==61829== by 0x27D9CF: cf_setup_connect (connect.c:1199) ==61829== by 0x27ABD7: Curl_conn_cf_connect (cfilters.c:307) ==61829== by 0x283CEA: cf_hc_baller_connect (cf-https-connect.c:135) Closes #13272
show more ...
|
b62454a8 | 03-Apr-2024 |
Viktor Szakats |
appveyor: OpenSSL 3 no longer found by CMake, revert to 1.1.1 OpenSSL moved directories, and bumped versions in AppVeyor CI. Downgrading is not an ideal solution, but however trivia
appveyor: OpenSSL 3 no longer found by CMake, revert to 1.1.1 OpenSSL moved directories, and bumped versions in AppVeyor CI. Downgrading is not an ideal solution, but however trivial the solution may be, I failed to come with anything that made CMake recognize either OpenSSL 3.1 or 3.2. Possibly caused by: https://github.com/appveyor/build-images/commit/702e8cdca01f28f6a40687783f493c786cebbe2c https://github.com/appveyor/build-images/pull/149 Closes #13266
show more ...
|
ffa8a385 | 03-Apr-2024 |
hongfei.li <447943025@qq.com> |
winbuild: use $(RC) correctly Cloes #13267 |
60971d66 | 03-Apr-2024 |
Daniel Stenberg |
dist: remove the curl-config.1 from the tarball The markdown file is already there and the .1 file gets generated in the build. Ref: #13250 Closes #13268 |
df3d5ef2 | 02-Apr-2024 |
Daniel Stenberg |
curl_global_trace.md: shorten the description Closes #13263 |
308cc482 | 02-Apr-2024 |
Daniel Stenberg |
test1901: verify chunked POST from callback with CURLOPT_POSTFIELDSIZE set Follow-up to 721941aadf4ad Ref: #13257 Closes #13262 |
721941aa | 01-Apr-2024 |
Stefan Eissing |
http: with chunked POST forced, disable length check on read callback - when an application forces HTTP/1.1 chunked transfer encoding by setting the corresponding header and instructs
http: with chunked POST forced, disable length check on read callback - when an application forces HTTP/1.1 chunked transfer encoding by setting the corresponding header and instructs curl to use the CURLOPT_READFUNCTION, disregard any POST length information. - this establishes backward compatibility with previous curl versions Applications are encouraged to not force "chunked", but rather set length information for a POST. By setting -1, curl will auto-select chunked on HTTP/1.1 and work properly on other HTTP versions. Reported-by: Jeff King Fixes #13229 Closes #13257
show more ...
|
d36c1a76 | 31-Mar-2024 |
Jay Satiro |
INSTALL-CMAKE.md: explain `cmake -G <generator-name>` - Explain that CMake's -G option can be used to specify which build system to generate files for. Example: cmake ../curl
INSTALL-CMAKE.md: explain `cmake -G <generator-name>` - Explain that CMake's -G option can be used to specify which build system to generate files for. Example: cmake ../curl -G "MinGW Makefiles" Ref: https://github.com/curl/curl/pull/12224#issuecomment-2026813645 Closes https://github.com/curl/curl/pull/13244
show more ...
|
6afac4f9 | 01-Apr-2024 |
Daniel Stenberg |
libcurl-opts: mention pipelining less libcurl has not supported HTTP pipelining since many years. Remove a few (more) mentions of the feature. Closes #13254 |
5a50cb5a | 31-Mar-2024 |
Daniel McCarney |
m4: reposition USE_RUSTLS="yes" for pkg-config It's necessary to set this var to "yes" _after_ AC_DEFINE and AC_SUBST in order for a later `test` to pass so that `check_for_ca_bundle=1`
m4: reposition USE_RUSTLS="yes" for pkg-config It's necessary to set this var to "yes" _after_ AC_DEFINE and AC_SUBST in order for a later `test` to pass so that `check_for_ca_bundle=1` ends up being set. This is in turn required for the default CA certificate bundle to be set when building w/ rustls & pkg-config. Reported-by: Matt Jolly Fixes #13248 Closes #13251
show more ...
|
5418812d | 30-Mar-2024 |
Daniel Stenberg |
maketgz: put docs/RELEASE-TOOL.md into the tarball Generated with scripts/release-tools.sh The script lists the exact Debian package names and version numbers for the tools that
maketgz: put docs/RELEASE-TOOL.md into the tarball Generated with scripts/release-tools.sh The script lists the exact Debian package names and version numbers for the tools that are used to generate the tarball. Closes #13239
show more ...
|