Builder curl-unthreaded-solaris10-sparc Build #13274
Results:
Failed runtest
SourceStamp:
Project | curl |
Repository | https://github.com/curl/curl.git |
Branch | master |
Revision | 3bb5e58c105d7be450b667858d1b8e7ae3ded555 |
Got Revision | 3bb5e58c105d7be450b667858d1b8e7ae3ded555 |
Changes | 33 changes |
BuildSlave:
unstable10sReason:
The SingleBranchScheduler scheduler named 'schedule-curl-unthreaded-solaris10-sparc' triggered this build
Steps and Logfiles:
Build Properties:
Name | Value | Source |
---|---|---|
branch | master | Build |
builddir | /export/home/buildbot-unstable10s/slave/curl-unthreaded-solaris10-sparc | slave |
buildername | curl-unthreaded-solaris10-sparc | Builder |
buildnumber | 13274 | Build |
codebase | Build | |
got_revision | 3bb5e58c105d7be450b667858d1b8e7ae3ded555 | Git |
osplatform | SPARC | SetPropertyFromCommand Step |
osrelease | 10 | SetPropertyFromCommand Step |
project | curl | Build |
repository | https://github.com/curl/curl.git | Build |
revision | 3bb5e58c105d7be450b667858d1b8e7ae3ded555 | Build |
scheduler | schedule-curl-unthreaded-solaris10-sparc | Scheduler |
slavename | unstable10s | BuildSlave |
workdir | /export/home/buildbot-unstable10s/slave/curl-unthreaded-solaris10-sparc | slave (deprecated) |
Forced Build Properties:
Name | Label | Value |
---|
Responsible Users:
- Daniel Stenbergdaniel@haxx.se
- Stefan Eissingstefan@eissing.org
- Viktor Szakatscommit@vsz.me
Timing:
Start | Mon Jul 28 21:55:28 2025 |
End | Tue Jul 29 18:00:57 2025 |
Elapsed | 20 hrs, 5 mins, 29 secs |
All Changes:
:
Change #240867
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Sun 27 Jul 2025 22:35:17 Repository https://github.com/curl/curl.git Project curl Branch master Revision b2bccdc257d0bab662778a8e5f8391dc99a8830b Comments
tidy-up: move literal to the right side of comparisons Closes #17876
Changed files
- docs/examples/anyauthput.c
- docs/examples/block_ip.c
- docs/examples/multithread.c
- docs/examples/sftpuploadresume.c
- docs/examples/smooth-gtk-thread.c
- docs/examples/threaded-ssl.c
- docs/internals/CODE_STYLE.md
- lib/altsvc.c
- lib/cf-socket.c
- lib/conncache.c
- lib/cookie.c
- lib/curl_addrinfo.c
- lib/curl_sha512_256.c
- lib/curlx/timeval.c
- lib/file.c
- lib/ftp.c
- lib/hostip6.c
- lib/http.c
- lib/http_chunks.c
- lib/memdebug.c
- lib/noproxy.c
- lib/progress.c
- lib/sendf.c
- lib/setopt.c
- lib/socks.c
- lib/socks_gssapi.c
- lib/socks_sspi.c
- lib/strequal.c
- lib/strerror.c
- lib/transfer.c
- lib/urlapi.c
- lib/vtls/gtls.c
- lib/vtls/openssl.c
- lib/vtls/schannel.c
- lib/vtls/vtls.c
- lib/vtls/wolfssl.c
- src/tool_dirhie.c
- src/tool_filetime.c
- src/tool_getparam.c
- src/tool_getpass.c
- src/tool_msgs.c
- src/tool_operate.c
- tests/libtest/lib1560.c
- tests/server/dnsd.c
- tests/server/mqttd.c
- tests/server/rtspd.c
- tests/server/socksd.c
- tests/server/sws.c
- tests/server/tftpd.c
Change #240868
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Sun 27 Jul 2025 22:35:17 Repository https://github.com/curl/curl.git Project curl Branch master Revision 89771d19d58d16cfe6e1d7fda7acd65a0a316eba Comments
tidy-up: prefer `ifdef`/`ifndef` for single checks Closes #18018
Changed files
- include/curl/curl.h
- include/curl/easy.h
- include/curl/header.h
- include/curl/mprintf.h
- include/curl/multi.h
- include/curl/options.h
- include/curl/system.h
- include/curl/urlapi.h
- include/curl/websockets.h
- lib/asyn.h
- lib/cf-h2-proxy.h
- lib/cf-haproxy.c
- lib/cf-haproxy.h
- lib/cf-https-connect.c
- lib/cf-https-connect.h
- lib/cf-socket.c
- lib/connect.c
- lib/cshutdn.c
- lib/curl_addrinfo.c
- lib/curl_gssapi.c
- lib/curl_md4.h
- lib/curl_ntlm_core.c
- lib/curl_ntlm_core.h
- lib/curl_sasl.c
- lib/curl_setup.h
- lib/curl_sha512_256.c
- lib/curl_threads.c
- lib/curl_threads.h
- lib/curl_trc.c
- lib/curl_trc.h
- lib/curlx/nonblock.c
- lib/curlx/wait.c
- lib/easy.c
- lib/easy_lock.h
- lib/file.c
- lib/fileinfo.c
- lib/fopen.c
- lib/ftp.c
- lib/hostip.c
- lib/hostip4.c
- lib/hostip6.c
- lib/http.c
- lib/http.h
- lib/http2.c
- lib/http_aws_sigv4.c
- lib/http_digest.c
- lib/http_ntlm.c
- lib/httpsrr.h
- lib/idn.c
- lib/if2ip.c
- lib/ldap.c
- lib/md4.c
- lib/md5.c
- lib/multi.c
- lib/multihandle.h
- lib/rand.c
- lib/rtsp.c
- lib/setopt.c
- lib/sha256.c
- lib/smb.c
- lib/smb.h
- lib/socks.c
- lib/url.c
- lib/url.h
- lib/urldata.h
- lib/vauth/digest_sspi.c
- lib/vauth/krb5_sspi.c
- lib/vauth/ntlm.c
- lib/vauth/ntlm_sspi.c
- lib/vauth/spnego_sspi.c
- lib/vauth/vauth.c
- lib/vauth/vauth.h
- lib/version.c
- lib/vquic/curl_osslq.c
- lib/vquic/vquic.c
- lib/vssh/curl_path.c
- lib/vssh/ssh.h
- lib/vtls/cipher_suite.c
- lib/vtls/gtls.c
- lib/vtls/mbedtls.c
- lib/vtls/openssl.c
- lib/vtls/rustls.c
- lib/vtls/schannel.h
- lib/vtls/schannel_verify.c
- lib/vtls/vtls.c
- lib/vtls/wolfssl.c
- m4/curl-functions.m4
- scripts/schemetable.c
- src/tool_cb_rea.c
- src/tool_filetime.c
- src/tool_filetime.h
- src/tool_main.c
- src/tool_operate.c
- tests/http/testenv/mod_curltest/mod_curltest.c
- tests/libtest/lib1960.c
- tests/libtest/lib3207.c
- tests/libtest/lib518.c
- tests/libtest/lib530.c
- tests/libtest/lib537.c
- tests/libtest/lib582.c
- tests/server/mqttd.c
- tests/server/resolve.c
- tests/server/sockfilt.c
- tests/server/socksd.c
- tests/server/sws.c
- tests/server/tftpd.c
- tests/unit/unit1979.c
- tests/unit/unit1980.c
- tests/unit/unit3205.c
Change #240869
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Sun 27 Jul 2025 22:35:18 Repository https://github.com/curl/curl.git Project curl Branch master Revision 2ec54556d4e3f3ab551b5298adab0c703d85a463 Comments
scripts: enable strict warnings in Perl where missing, fix fallouts - add 'use warnings' and 'use strict' where missing from Perl scripts. - fix 'Use of uninitialized value'. - fix missing declarations. - test1140.pl: fix 'Possible precedence issue with control flow operator'. - fix other misc issues. Most actual errors found during this PR were fixed and merged via separate PRs. Likely there are remaining warnings not found and fixed in this PR. Closes #17877
Changed files
- .github/scripts/badwords.pl
- .github/scripts/cleancmd.pl
- .github/scripts/cmp-config.pl
- .github/scripts/randcurl.pl
- .github/scripts/trimmarkdownheader.pl
- .github/scripts/verify-examples.pl
- .github/scripts/verify-synopsis.pl
- docs/examples/adddocsref.pl
- docs/examples/version-check.pl
- docs/libcurl/mksymbolsmanpage.pl
- docs/libcurl/symbols.pl
- lib/optiontable.pl
- scripts/cd2cd
- scripts/cdall
- scripts/ciconfig.pl
- scripts/cijobs.pl
- scripts/delta
- scripts/extract-unit-protos
- scripts/managen
- scripts/mdlinkcheck
- scripts/nroff2cd
- scripts/randdisable
- scripts/release-notes.pl
- scripts/singleuse.pl
- src/mk-file-embed.pl
- src/mkhelp.pl
- tests/allversions.pm
- tests/http2-server.pl
- tests/http3-server.pl
- tests/libtest/mk-lib1521.pl
- tests/libtest/test1013.pl
- tests/libtest/test1022.pl
- tests/libtest/test307.pl
- tests/libtest/test610.pl
- tests/libtest/test613.pl
- tests/memanalyze.pl
- tests/runtests.pl
- tests/test1140.pl
- tests/test1175.pl
- tests/test1275.pl
- tests/test1276.pl
- tests/test1488.pl
- tests/test1707.pl
- tests/test971.pl
- tests/testcurl.pl
Change #240872
Category curl Changed by Stefan Eissing <stefan @eissing.org>Changed at Sun 27 Jul 2025 22:49:12 Repository https://github.com/curl/curl.git Project curl Branch master Revision b453a447ce4e6aa2a352b196fe0b080fea0342da Comments
connection: terminate after goaway When a multiplex connection (h2/h3) is shutdown by the server, the reported number of parallel transfers allowed drops to 0. Determine that when the last transfer is done and terminate the connection instead of keeping it in the cache. We detect the drop to 0 also when we try to reuse such a connection, but if we know this at the time the last transfer is done, we better terminate it right away. Have a consistent trace logging to this with the connections current hostname and port. Adjust test expectations to carry port numbers. Closes #17884
Changed files
- lib/cfilters.c
- lib/multi.c
- tests/data/test1506
- tests/data/test1510
- tests/data/test1542
- tests/data/test2402
- tests/data/test2404
- tests/data/test2502
Change #240876
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Sun 27 Jul 2025 23:02:05 Repository https://github.com/curl/curl.git Project curl Branch master Revision fd2ca2399e79e0b821af34c7c164c830c9c6574d Comments
build: extend GNU C guards to clang where applicable, fix fallouts Some GNU C version guards implicitly include the clang compiler, because clang reports itself as GCC 4.2.1. This implicit inclusion doesn't happen if the guard requires a GCC version above 4.2.1. Fix two such guards to explicitly include clang where it does support the guarded feature: - curl/curl.h: use `typecheck-gcc.h` with clang. llvm clang v14+ supports this. The corresponding Apple clang version is also v14. Ref: https://en.wikipedia.org/wiki/Xcode#Toolchain_versions Apple clang v14 tested OK in CI: https://github.com/curl/curl/actions/runs/16353901480/job/46207437204 - tool_urlglib: use `__builtin_mul_overflow()` with clang v8+. llvm clang v3.8+ supports this, but to accommodate for Apple clang, start with v8, the Apple version having the mainline v3.8 feature set. Also fix compile warnings triggered by the above: - lib1912: fix duplicate `;`: ``` tests/libtest/lib1912.c:44:57: error: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt] 44 | print_err(o->name, "CURLOT_LONG or CURLOT_VALUES"); | ^ [...] ``` Ref: https://github.com/curl/curl/actions/runs/16351302841/job/46198524880?pr=17955#step:12:61 - lib2032: silence typcheck warning with a cast: ``` tests/libtest/lib2032.c:145:29: error: sizeof on pointer operation will return size of 'CURL **' (aka 'void **') instead of 'CURL *[3]' (aka 'void *[3]') [-Werror,-Wsizeof-array-decay] 145 | ntlm_easy + num_handles); | ~~~~~~~~~ ^ ``` Ref: https://github.com/curl/curl/actions/runs/16351302841/job/46198524880?pr=17955#step:12:86 Closes #17955
Changed files
- include/curl/curl.h
- src/tool_urlglob.c
- tests/libtest/lib1912.c
- tests/libtest/lib2032.c
Change #240896
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 01:51:55 Repository https://github.com/curl/curl.git Project curl Branch master Revision 750985482453643e70ef8285081c6fe4969aa928 Comments
scripts: fix two Perl uninitialized value warnings ``` Use of uninitialized value $errors in exit at .github/scripts/badwords.pl line 87. Use of uninitialized value $o in concatenation (.) or string at ../.github/scripts/randcurl.pl line 99. ``` Follow-up to 2ec54556d4e3f3ab551b5298adab0c703d85a463 #17877 Cherry-picked from #18042 Closes #18047
Changed files
- .github/scripts/badwords.pl
- .github/scripts/randcurl.pl
Change #240898
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 01:51:55 Repository https://github.com/curl/curl.git Project curl Branch master Revision 061c81904fc13839b8e8c3c14b28dace4f7a5aaa Comments
inet_pton, inet_ntop: drop declarations when unused Do not declare local inet_pton/inet_ntop implementations when they are not used. In this case the same symbol is defined as a macro and mapped to the system implementation. Syncing this with their definitions. Closes #18043
Changed files
- lib/curlx/inet_ntop.h
- lib/curlx/inet_pton.h
Change #240899
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 01:51:55 Repository https://github.com/curl/curl.git Project curl Branch master Revision 36af5cceb11f0b8757a5a4fcdcc1974f6b3cda2f Comments
config-win32.h: do not use winsock2 `inet_ntop()`/`inet_pton()` Syncing winbuild and VS Project File builds with the same fix applied to cmake and autotools builds earlier. Also fixes these warnings seen in the VisualStudioSolution (VS2013) job on AppVeyor CI: ``` lib\hostip.c(148): warning C4090: 'function' : different 'const' qualifiers lib\hostip.c(155): warning C4090: 'function' : different 'const' qualifiers ``` Ref: https://ci.appveyor.com/project/curlorg/curl/builds/52470650/job/gslnjrdxnd8b9mtv#L180 Went unnoticed because warnings are not promoted to error in these builds. winbuild CI jobs did not hit this warning for some reason. Follow-up to 8537a5b0bcf4565551774c2b2375c49767e405a7 #16577 Closes #18045
Changed files
- lib/config-win32.h
Change #240912
Category curl Changed by Daniel Stenberg <daniel @haxx.se>Changed at Mon 28 Jul 2025 08:42:34 Repository https://github.com/curl/curl.git Project curl Branch master Revision 513b664980f3632387f8618b4068c50e472c11fc Comments
DEPRECATE.md: remove leftover "nothing" It was just wrong and confusing Closes #18044
Changed files
- docs/DEPRECATE.md
Change #240921
Category curl Changed by Daniel Stenberg <daniel @haxx.se>Changed at Mon 28 Jul 2025 09:15:01 Repository https://github.com/curl/curl.git Project curl Branch master Revision fc98a630cfb27dd097b31b57aa59fb578b390063 Comments
memanalyze.pl: remove strict+warnings These introduced *hundreds* of lines of output in a single test run. I think this also shows strict+warnigns in perl in their most annoying way. Follow-up to 2ec54556d4 Closes #18048
Changed files
- tests/memanalyze.pl
Change #240932
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 10:32:13 Repository https://github.com/curl/curl.git Project curl Branch master Revision 5debe7cb34bb6f0ee094515c17b7662e386829fb Comments
CURLOPT: drop redundant `long` casts Also: - CURLOPT_HSTS_CTRL.md: sync macro definitions with `curl/curl.h`. Perhaps it'd be better to delete copies like this? - keep existing casts within the documentation to make sure it applies to older curl versions as well. - CURLOPT_IPRESOLVE.md: re-add a long cast to man page, for consistency with the above. Closes #17791
Changed files
- docs/examples/anyauthput.c
- docs/examples/ghiper.c
- docs/examples/hsts-preload.c
- docs/examples/http3.c
- docs/examples/imap-tls.c
- docs/examples/pop3-tls.c
- docs/examples/smtp-tls.c
- docs/libcurl/opts/CURLOPT_HSTS_CTRL.md
- docs/libcurl/opts/CURLOPT_HTTP_VERSION.md
- docs/libcurl/opts/CURLOPT_IPRESOLVE.md
- src/config2setopts.c
- tests/client/hx_download.c
- tests/client/hx_upload.c
- tests/libtest/lib1511.c
- tests/libtest/lib1513.c
- tests/libtest/lib1555.c
- tests/libtest/lib1568.c
- tests/libtest/lib1593.c
- tests/libtest/lib1599.c
- tests/libtest/lib1662.c
- tests/libtest/lib2309.c
- tests/libtest/lib2502.c
- tests/libtest/lib510.c
- tests/libtest/lib540.c
- tests/libtest/lib547.c
- tests/libtest/lib552.c
- tests/libtest/lib555.c
- tests/libtest/lib579.c
- tests/libtest/lib583.c
- tests/libtest/lib590.c
- tests/libtest/lib678.c
- tests/libtest/lib694.c
Change #240933
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 10:32:13 Repository https://github.com/curl/curl.git Project curl Branch master Revision 430f9b03fd2b11804e6ae6147efaefb1f5a9916d Comments
CURLOPT: bump `CURLFTP*` enums to `long`, drop casts This patch bumps the size of these constants from `int` to `long`, while keeping their actual values the same. It may cause incompatibilities in user code, requiring the bump of holder variables and/or adding casts: - CURLFTP_CREATE_DIR - CURLFTP_CREATE_DIR_NONE - CURLFTP_CREATE_DIR_RETRY - CURLFTPAUTH_DEFAULT - CURLFTPAUTH_SSL - CURLFTPAUTH_TLS - CURLFTPMETHOD_DEFAULT - CURLFTPMETHOD_MULTICWD - CURLFTPMETHOD_NOCWD - CURLFTPMETHOD_SINGLECWD - CURLFTPSSL_CCC_ACTIVE - CURLFTPSSL_CCC_NONE - CURLFTPSSL_CCC_PASSIVE Also: - keep existing casts within the documentation to make sure it applies to older curl versions as well. Closes #17797
Changed files
- docs/libcurl/opts/CURLOPT_FTP_CREATE_MISSING_DIRS.md
- include/curl/curl.h
- lib/ftp.c
- lib/setopt.c
- src/config2setopts.c
- src/tool_cfgable.h
- src/tool_paramhlp.c
- src/tool_paramhlp.h
- tests/libtest/lib539.c
- tests/libtest/lib661.c
Change #240941
Category curl Changed by Stefan Eissing <stefan @eissing.org>Changed at Mon 28 Jul 2025 10:53:51 Repository https://github.com/curl/curl.git Project curl Branch master Revision 44f53078914d1f827bfb3252276d58feb3ca82b5 Comments
multi: fix assert in multi_getsock() Now that multi keeps the "dirty" bitset, the detection of possibly stalling transfers needs to adapt. Before dirty, transfers needed to expose a socket to poll or a timer to wait for. Dirty transfer might no longer have a timer, but will run, so do not need to report a socket. Adjust the assert condition. Fixes #18046 Reported-by: Viktor Szakats Closes #18051
Changed files
- lib/multi.c
Change #240951
Category curl Changed by Stefan Eissing <stefan @eissing.org>Changed at Mon 28 Jul 2025 11:18:07 Repository https://github.com/curl/curl.git Project curl Branch master Revision 8e1d817cb36bca2ed08296c363d89b75c7779dc8 Comments
build: fix disable-verbose Fix compile error when building with `--disable-verbose`. Adjust pytest to skip when curl is not a debug build but needs traces. Follow-up to b453a447ce4e6aa2a352b196 Closes #18053
Changed files
- lib/connect.c
- lib/curl_trc.c
- lib/http2.c
- lib/multi.c
- tests/http/test_02_download.py
- tests/http/test_10_proxy.py
- tests/http/test_13_proxy_auth.py
- tests/http/test_15_tracing.py
- tests/http/test_17_ssl_use.py
- tests/http/test_30_vsftpd.py
- tests/http/test_31_vsftpds.py
- tests/http/test_32_ftps_vsftpd.py
Change #240958
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 11:28:15 Repository https://github.com/curl/curl.git Project curl Branch master Revision 58b9c6134bf8632442aa7d703aa8c7061604785e Comments
cmake: omit linking duplicate/unnecessary libs to tests & examples Before this patch we explicitly linked the full list of libcurl dependency libs to tests and examples via `CURL_LIBS`. This was redundant, because test and example code do not directly use these dependency libs and for indirect use they are implicitly passed via libcurl as needed. After this patch, tests and examples only link explicitly to system libs (e.g. socket). Also bringing it closer to how `./configure` does this. Borrow the variable name `CURL_NETWORK_AND_TIME_LIBS` from `./configure`. However, its content is not exactly the same. With cmake it also holds `pthread`, but doesn't hold AmiSSL. Closes #17696
Changed files
- CMakeLists.txt
- docs/examples/CMakeLists.txt
- tests/client/CMakeLists.txt
- tests/libtest/CMakeLists.txt
- tests/server/CMakeLists.txt
Change #240977
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 12:43:01 Repository https://github.com/curl/curl.git Project curl Branch master Revision 2c90c3aac0a7a348db140702b5b7ff4b83642799 Comments
build: tidy up compiler definition for tests - tests: merge cmake commands. - tests: use `target_compile_definitions()`. - tests/server: use generator expression for platform-specific macro. - tests/unit: sync `Makefile.am` comment with cmake. - tests/unit: merge two `AM_CPPFLAGS` lines to keep synced with cmake. - tests: move macro definitions to `first.h` headers from build level. `CURL_NO_OLDIES`, `CURL_DISABLE_DEPRECATION`, `WITHOUT_LIBCURL`, `CURL_STATICLIB` (for servers). To share more logic. Pass `CURL_STATICLIB` in server on all platforms for simplicity. (On non-Windows, it's a no-op. It's already done like this with curlu and libcurltool.) Also for lib: - lib: merge commands. - lib: sync macro order with tests (also in `Makefile.am`). Closes #17768
Changed files
- lib/CMakeLists.txt
- lib/Makefile.am
- tests/client/CMakeLists.txt
- tests/client/Makefile.am
- tests/client/first.h
- tests/libtest/CMakeLists.txt
- tests/libtest/Makefile.am
- tests/libtest/first.h
- tests/server/CMakeLists.txt
- tests/server/Makefile.am
- tests/server/first.h
- tests/tunit/CMakeLists.txt
- tests/tunit/Makefile.am
- tests/unit/CMakeLists.txt
- tests/unit/Makefile.am
Change #240980
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 12:43:02 Repository https://github.com/curl/curl.git Project curl Branch master Revision a28f5f68b965119d9dd1ab6c2a2ccc66c6ed5d1f Comments
build: bump minimum required mingw-w64 to v3.0 (from v1.0) mingw-w64 3.0 was released on 2013-09-20. Offered by Debian jessie. 1.0 and 2.0 were released in 2011. It seems unlikely that many people use them. The oldest downloadable toolchain (that I know of) comes with 3.0. Due to this, older versions weren't CI tested, and probably seldom tested elsewhere. The last bugfix update for both 1.0 and 2.0 was released in 2015. curl can now assume availability of these 3.0 features/fixes: - 64-bit file offsets. - `ADDRESS_FAMILY` type. - `__MINGW_PRINTF_FORMAT` macro. (in public curl headers) Public curl headers keep supporting older mingw-w64 versions. Fixes #17984 Closes #18010
Changed files
- CMake/win32-cache.cmake
- CMakeLists.txt
- docs/INSTALL.md
- lib/curl_setup.h
- lib/easy_lock.h
Change #240981
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 12:43:02 Repository https://github.com/curl/curl.git Project curl Branch master Revision 9a68a86ea3626d5175d9dc9b521c969d80b7771d Comments
memanalyze: fix warnings Also fix possibly missing reallocated memory from 'Total allocated': ``` Use of uninitialized value $size in addition (+) at tests/memanalyze.pl line 240, <$fileh> line 4. ``` Ref: https://github.com/curl/curl/actions/runs/16565283280/job/46843800711?pr=18049#step:39:3834 Ref: https://github.com/curl/curl/actions/runs/16556860012/job/46819517495?pr=17927#step:39:156 Follow-up to fc98a630cfb27dd097b31b57aa59fb578b390063 #18048 Follow-up to 2ec54556d4e3f3ab551b5298adab0c703d85a463 #17877 Closes #18049
Changed files
- tests/memanalyze.pl
Change #240995
Category curl Changed by Stefan Eissing <stefan @eissing.org>Changed at Mon 28 Jul 2025 12:57:51 Repository https://github.com/curl/curl.git Project curl Branch master Revision 366c589c815fbb7f368ca7c042da0d4693dff6ae Comments
pytest: relax error check on test_07_22 Add code 56 to the list of accepted errors, as it varies with backend and speediness of test run. Closes #18050
Changed files
- tests/http/test_07_upload.py
Change #240996
Category curl Changed by Daniel Stenberg <daniel @haxx.se>Changed at Mon 28 Jul 2025 13:04:36 Repository https://github.com/curl/curl.git Project curl Branch master Revision 22d6ac0b65b19e3f13645f9e548dcae8599c88c4 Comments
RELEASE-NOTES: synced
Changed files
- RELEASE-NOTES
Change #241001
Category curl Changed by Daniel Stenberg <daniel @haxx.se>Changed at Mon 28 Jul 2025 14:02:52 Repository https://github.com/curl/curl.git Project curl Branch master Revision f63bdea79028c30780b3450e5d444c84b63a5434 Comments
delta: drop the warnings+strict They really don't do much good here and I rather do this than adding 'my' on 40+ lines. Follow-up from 2ec54556d4e3f3ab55 Closes #18058
Changed files
- scripts/delta
Change #241002
Category curl Changed by Stefan Eissing <stefan @eissing.org>Changed at Mon 28 Jul 2025 14:04:31 Repository https://github.com/curl/curl.git Project curl Branch master Revision 21e885eb39c72c9a4ad59432e5de8a9859934436 Comments
alpn: query filter Add a connection filter query to obtained the negotiated ALPN protocol to check in setup/protocols how the connection needs to behave. Remove the members `alpn` and `proxy_alpn` from `connectdata`. Closes #17947
Changed files
- lib/cf-h2-proxy.c
- lib/cf-https-connect.c
- lib/cfilters.c
- lib/cfilters.h
- lib/http.c
- lib/http_proxy.c
- lib/socks.c
- lib/url.c
- lib/urldata.h
- lib/vquic/curl_ngtcp2.c
- lib/vquic/curl_osslq.c
- lib/vquic/curl_quiche.c
- lib/vtls/schannel.c
- lib/vtls/vtls.c
- tests/http/test_10_proxy.py
- tests/http/test_13_proxy_auth.py
Change #241008
Category curl Changed by Daniel Stenberg <daniel @haxx.se>Changed at Mon 28 Jul 2025 14:17:40 Repository https://github.com/curl/curl.git Project curl Branch master Revision e82c172e9f9caa9f26c09d87772a3a58d423f688 Comments
docs/cmdline-opts: the auth types are not mutually exclusive They are booleans URL: https://curl.se/mail/archive-2025-07/0019.html Closes #18059
Changed files
- docs/cmdline-opts/anyauth.md
- docs/cmdline-opts/basic.md
- docs/cmdline-opts/digest.md
- docs/cmdline-opts/negotiate.md
- docs/cmdline-opts/ntlm.md
- docs/cmdline-opts/proxy-anyauth.md
- docs/cmdline-opts/proxy-basic.md
- docs/cmdline-opts/proxy-digest.md
- docs/cmdline-opts/proxy-ntlm.md
Change #241010
Category curl Changed by Daniel Stenberg <daniel @haxx.se>Changed at Mon 28 Jul 2025 14:18:47 Repository https://github.com/curl/curl.git Project curl Branch master Revision 0e492341283778c37cf190abd22424942902f34d Comments
_PROTOCOLS.md: mention file:// is only for absolute paths ... when using curl. Asked-by: Paul Gilmartin URL: https://curl.se/mail/archive-2025-07/0018.html Closes #18060
Changed files
- docs/cmdline-opts/_PROTOCOLS.md
Change #241015
Category curl Changed by Stefan Eissing <stefan @eissing.org>Changed at Mon 28 Jul 2025 14:57:38 Repository https://github.com/curl/curl.git Project curl Branch master Revision 6845533e24f6febc7a006224b8991de5da328667 Comments
curl: add long option '--out-null' Add a new commandline option --out-null that discards all response bytes into the void. Replaces non-portable use of '-o /dev/null' with more efficiency. Feature added in 8.16.0 Closes #17800
Changed files
- docs/cmdline-opts/Makefile.inc
- docs/cmdline-opts/out-null.md
- docs/cmdline-opts/output.md
- docs/options-in-versions
- src/tool_cb_wrt.c
- src/tool_getparam.c
- src/tool_getparam.h
- src/tool_listhelp.c
- src/tool_operate.c
- src/tool_sdecls.h
- tests/data/Makefile.am
- tests/data/test756
- tests/http/testenv/curl.py
Change #241031
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 17:29:26 Repository https://github.com/curl/curl.git Project curl Branch master Revision 975ab36531adf01970814cd81049bcc508c89c61 Comments
lib517: use `LL` 64-bit literals & re-enable a test case (`time_t`) Suffix two 64-bit `time_t` test literals with `LL` to make them compile with mingw-w64 x86_64 in C89 (the default) mode. Possibly other old gcc compilers are affected (e.g. mips gcc 4.9.4, power gcc 15.1.0), but could not pinpoint the exact rules. This also fixes a compiler warning and test failure with MSVC, allowing to re-enable a disabled test case. `LL` is not C89, but used in the code before this patch, which tells it's safe to use. Also display expected / actual timestamp values as `curl_off_t` instead of `long`, making them work with 64-bit timestamps. This was triggered by this issue seen while testing mingw-w64 gcc 4.8.1: ``` tests/libtest/lib517.c:147:5: error: this decimal constant is unsigned only in ISO C90 {"Sun, 06 Nov 2044 08:49:37 GMT", (time_t) 2362034977 }, ^ ``` Ref: https://github.com/curl/curl/actions/runs/16540378828/job/46780712313?pr=18010#step:12:32 Closes #18032
Changed files
- tests/libtest/lib517.c
Change #241032
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 17:29:26 Repository https://github.com/curl/curl.git Project curl Branch master Revision b1df1d38afce5b2d9de3a60eacdc041c5d575498 Comments
delta: fix warnings, fix for non-GNU `date` tool It makes the script run on BSD-like envs. Follow-up to f63bdea79028c30780b3450e5d444c84b63a5434 #18058 Follow-up to 2ec54556d4e3f3ab551b5298adab0c703d85a463 #17877 Closes #18061
Changed files
- scripts/delta
Change #241033
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 17:29:26 Repository https://github.com/curl/curl.git Project curl Branch master Revision 577ec0941235e52dcb39765c02c25444766ac2de Comments
contrithanks: fix for BSD `sed` tool Fixing on macOS, and possibly other BSDs: ``` sed: 83: ./docs/THANKS-filter: RE error: illegal byte sequence ``` Where line 83 contains `\xED`. Switch to raw encoding to avoid `sed` evaluating the stream of bytes. Ref: #18061 Closes #18062
Changed files
- scripts/contrithanks.sh
Change #241034
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 17:29:57 Repository https://github.com/curl/curl.git Project curl Branch master Revision 81f5991e14abe71ccee22e9576dc447e8c3418f4 Comments
lib1560: replace an `int` with `bool` Follow-up to 7d1ca2e7e1a3b9d3ba70f587f6bc5e83f905afd5 #17933 Closes #18064
Changed files
- tests/libtest/lib1560.c
Change #241035
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 17:30:36 Repository https://github.com/curl/curl.git Project curl Branch master Revision d45b85d79198a0259123923a6aa186ded2aaca6c Comments
CURLOPT: bump `CURLALTSVC_*` macros to `long` This patch bumps the size of these macros from `int` to `long`, while keeping their actual values the same. It may cause incompatibilities in user code, requiring the bump of holder variables and/or adding casts: - CURLALTSVC_H1 - CURLALTSVC_H2 - CURLALTSVC_H3 - CURLALTSVC_READONLYFILE Also: - keep existing cast within the documentation to make sure it applies to older curl versions as well. Closes #18063
Changed files
- include/curl/curl.h
Change #241036
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 17:30:46 Repository https://github.com/curl/curl.git Project curl Branch master Revision 1a12663d06d9c42fd40a8655d5247f7afeeb8e1e Comments
CURLOPT: bump `CURLPROXY_*` enums to `long`, drop casts This patch bumps the size of these macros from `int` to `long`, while keeping their actual values the same. It may cause incompatibilities in user code, requiring the bump of holder variables and/or adding casts: - CURLPROXY_HTTP - CURLPROXY_HTTP_1_0 - CURLPROXY_HTTPS - CURLPROXY_HTTPS2 - CURLPROXY_SOCKS4 - CURLPROXY_SOCKS4A - CURLPROXY_SOCKS5 - CURLPROXY_SOCKS5_HOSTNAME Also: - keep existing cast within the documentation to make sure it applies to older curl versions as well. Closes #18054
Changed files
- include/curl/curl.h
- lib/setopt.c
- lib/url.c
- lib/urldata.h
- tests/libtest/lib1525.c
- tests/libtest/lib1526.c
- tests/libtest/lib1527.c
- tests/libtest/lib1528.c
- tests/libtest/lib1529.c
- tests/libtest/lib564.c
Change #241037
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 17:31:33 Repository https://github.com/curl/curl.git Project curl Branch master Revision 113f6aacd4ae4eaa25fca91932013425fca3788d Comments
CURLOPT: bump `CURLHEADER_*` macros to `long`, drop casts This patch bumps the size of these macros from `int` to `long`, while keeping their actual values the same. It may cause incompatibilities in user code, requiring the bump of holder variables and/or adding casts: - CURLHEADER_SEPARATE - CURLHEADER_UNIFIED Also: - keep existing cast within the documentation to make sure it applies to older curl versions as well. Closes #18055
Changed files
- include/curl/curl.h
- tests/libtest/lib1525.c
- tests/libtest/lib1526.c
- tests/libtest/lib1527.c
- tests/libtest/lib1528.c
Change #241039
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 28 Jul 2025 17:45:04 Repository https://github.com/curl/curl.git Project curl Branch master Revision 3bb5e58c105d7be450b667858d1b8e7ae3ded555 Comments
memory: make function overrides work reliably in unity builds Fixing: - HTTPS-RR builds with c-ares and Linux MUSL. - curl-for-win minimal builds with Linux MUSL. It should fix all other kinds of entaglement between curl's redefintions of system symbols and system (or 3rd-party) headers sensitive to that. It also syncs memory override behavior between unity & non-unity builds, thus reducing build variations. The idea is to define and declare everything once in `curl_setup.h`, without overriding any system symbols with curl ones yet. Then, like before this patch, override them, if necessary, in each source file via `curl_memory.h` and `memdebug.h`, after including system headers. To ensure a clean slate with no overrides at the beginning of each source file, reset all of them unconditionally at the end of `curl_setup.h`, by including `curl_mem_undef.h`. (This assumes `curl_setup.h` is always included first, which is already the case throughout the codebase.) `curl_mem_undef.h` can also be included explicitly wherever overrides are causing problems. E.g. in tests which use unity-style builds and a previously included `curl_memory.h`/`memdebug.h` can be spilling into other source files. The simplified role of the two override headers: - `curl_memory.h`: overrides system memory allocator functions to libcurl ones, when memory tracing (aka `CURLDEBUG`) is disabled. - `memdebug.h`: overrides system memory allocator and some other functions to curl debug functions, when memory tracing is enabled. Changed made in this patch, step-by-step: - curl_memory.h: move allocator typedefs and protos to `curl_setup.h`. - memdebug.h: move `ALLOC_*` macros to `curl_setup.h`. - memdebug.h: move allocator protos to `curl_setup.h`. - memdebug.h: move `Curl_safefree()` macro to `curl_setup.h`. (it's a regular macro, with a one-time, global, definition.) - curl_memory.h: move system symbol undefs to a new, separate header: `curl_mem_undef.h`. - curl_setup.h: include `curl_mem_undef.h` at the end, unconditionally, to reset system symbol macros after each inclusion. - handle `sclose()` and `fake_sclose()` in `curl_setup.h`. They are not system symbols, a one-time definition does the job. Also: - GHA/linux: enable unity mode for the HTTP-RR c-ares MUSL job. Follow-up to 17ab4d62e62bd3bfb6dbf6cb51460629f21c03e7 #16413 That said, I'd still find it better to avoid redefining system macros. To communicate clearly the fact that they are not the original system calls and they do behave differently. And, it would allow dropping the undef/redef dance in each source file, and maintaining the logic with it. The "last #include files should be in this order" comments in each source would also become unnecessary. Also the trick of using `(func)` (or interim macros) to call the non-overridden function where required. This method works for printf and most everything else already. For `_tcsdup`, socket and fopen functions this could work without disturbing the codebase much. Ref: #16428 (clean reboot of) Closes #17827
Changed files
- .github/workflows/linux.yml
- lib/Makefile.inc
- lib/curl_mem_undef.h
- lib/curl_memory.h
- lib/curl_setup.h
- lib/curl_setup_once.h
- lib/memdebug.h