2c4d04c4 | 15-Aug-2024 |
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
GHA: update dependency gnutls/gnutls to v3.8.7 Closes #14554 |
a58b50fc | 15-Aug-2024 |
Stefan Eissing |
transfer: Curl_sendrecv() and event related improvements - Renames Curl_readwrite() to Curl_sendrecv() to reflect that it is mainly about talking to the server, not reads or writes to
transfer: Curl_sendrecv() and event related improvements - Renames Curl_readwrite() to Curl_sendrecv() to reflect that it is mainly about talking to the server, not reads or writes to the client. Add a `nowp` parameter since the single caller already has this. - Curl_sendrecv() now runs all possible operations whenever it is called and either it had been polling sockets or the 'select_bits' are set. POLL_IN/POLL_OUT are not always directly related to send/recv operations. Filters like HTTP/2, QUIC or TLS may monitor reverse directions. If a transfer does not want to send (KEEP_SEND), it will not do so, as before. Same for receives. - Curl_update_timer() now checks the absolute timestamp of an expiry and the last/new timeout to determine if the application needs to stop/start/restart its timer. This fixes edge cases where updates did not happen as they should have. - improved --test-event curl_easy_perform() simulation to handle situations where no sockets are registered but a timeout is in place. - fixed bug in events_socket() that complained about removing a socket that was unknown, when indeed it had removed the socket just before, only it was the last in the list - fixed conncache's internal handle to carry the multi instance (where the cache has one) so that operations on the closure handle trigger event callbacks correctly. - fixed conncache to not POLL_REMOVE a socket twice when a conneciton was closed. Closes #14561
show more ...
|
432f2fd9 | 16-Aug-2024 |
Viktor Szakats |
cmake: sync up version detection in Find modules - use the same pattern across all Find modules: - verify if the version header exists before reading it. - use a single regex per
cmake: sync up version detection in Find modules - use the same pattern across all Find modules: - verify if the version header exists before reading it. - use a single regex per lookup. - sync regexes between Find modules. - use generic temporary variable names. - improve readability. - make it simpler to transition to new CMake syntax in the future: ```cmake file(STRINGS "${CARES_INCLUDE_DIR}/ares_version.h" _version_str REGEX "<...>") unset(_version_str) set(CARES_VERSION "${CMAKE_MATCH_1}") ``` Ref: https://cmake.org/cmake/help/latest/policy/CMP0159.html#policy:CMP0159 - fix zstd version detection to be CMake 3.7 compatible. Required 3.9 before this patch, for the `CMAKE_MATCH_<n>` feature. Follow-up to c5d506e9bbf0669d7605d1d00865ae7e229b2409 #12200 Follow-up to 4e2f3641f80e233738147d82218317f331369c50 #14548 Closes #14572
show more ...
|
d8de4806 | 15-Aug-2024 |
Viktor Szakats |
cmake: tidy-up continues - move variable dump to a GHA foldable group. - minimize scope for an include(). - rename `HIDES_CURL_PRIVATE_SYMBOLS` to `CURL_HIDES_PRIVATE_SYMBOLS`,
cmake: tidy-up continues - move variable dump to a GHA foldable group. - minimize scope for an include(). - rename `HIDES_CURL_PRIVATE_SYMBOLS` to `CURL_HIDES_PRIVATE_SYMBOLS`, to keep it in the curl namespace. - drop quotes from a version number. - add missing `Makefile.inc` var refs to comment. - FindNGTCP2: rename internal var to underscore/lowercase. - FindBearSSL, FindGSS: whitespace. Closes #14571
show more ...
|
f3a03df6 | 16-Aug-2024 |
Viktor Szakats |
cmake: revert to `pkg_check_modules()` Prefer `pkg_check_modules()` over `pkg_search_module()`. `pkg_check_modules()` logs a line when there is a hit, and also warnings if a sub
cmake: revert to `pkg_check_modules()` Prefer `pkg_check_modules()` over `pkg_search_module()`. `pkg_check_modules()` logs a line when there is a hit, and also warnings if a sub-dependency is missing. In `QUIET` mode, both are silent. The extra info is useful to see if a detection happened via `pkg-config`. Keep `pkg_search_module()` in `FindGSS`. We pass two dependencies there and we want to keep stopping on the first one. Partially reverts c2889a7b4180fc963ae30811f59ab547b6eb03cd #14388 Closes #14573
show more ...
|
4beb2364 | 16-Aug-2024 |
Viktor Szakats |
cmake: fixup variable reference in FindZstd Follow-up to 4e2f3641f80e233738147d82218317f331369c50 #14548 |
f9f2eaae | 15-Aug-2024 |
Daniel Stenberg |
internals/SPLAY.md: internal API documentation Closes #14563 |
8f562f74 | 16-Aug-2024 |
Daniel Stenberg |
curl: make the progress bar detect terminal width changes And up the widest supported bar to 400 columns. Fixes #14565 Reported-by: lolbinarycat on github Closes #14570 |
4e2f3641 | 13-Aug-2024 |
Viktor Szakats |
cmake: add missing version detection to Find modules - use `pkg-config` version when available and where it wasn't yet used. - add manual version detection for dependencies where th
cmake: add missing version detection to Find modules - use `pkg-config` version when available and where it wasn't yet used. - add manual version detection for dependencies where this is possible (via a public header) and where it wasn't done yet. Closes #14548
show more ...
|
2bea3892 | 16-Aug-2024 |
Viktor Szakats |
GHA/windows: delete redundant options, tidy up - delete redundant `-DCURL_USE_LIBPSL=ON`. - delete redundant `-DUSE_NGHTTP2=ON`. Follow-up to 87aa4ebd821ebae0023df8658360c724e
GHA/windows: delete redundant options, tidy up - delete redundant `-DCURL_USE_LIBPSL=ON`. - delete redundant `-DUSE_NGHTTP2=ON`. Follow-up to 87aa4ebd821ebae0023df8658360c724efcf5e00 #14136 - reorder options. Closes #14569
show more ...
|
453d032b | 15-Aug-2024 |
Viktor Szakats |
tidy-up: misc build, tests, `lib/macos.c` - mkhelp.pl: drop unused assigment. - Makefile.mk: update a comment. - lib/macos.c: delete redundant block. - fix two typos. Cl
tidy-up: misc build, tests, `lib/macos.c` - mkhelp.pl: drop unused assigment. - Makefile.mk: update a comment. - lib/macos.c: delete redundant block. - fix two typos. Closes #14558
show more ...
|
471b11a9 | 16-Aug-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
0e06603b | 15-Aug-2024 |
Daniel Stenberg |
docs: remove ALTSVC.md, HSTS.md, HTTP2.md and PARALLEL-TRANSFERS.md These are files and documentation for established functionality that should by now be covered properly and completely
docs: remove ALTSVC.md, HSTS.md, HTTP2.md and PARALLEL-TRANSFERS.md These are files and documentation for established functionality that should by now be covered properly and completely in the standard documentation and in everything curl. Having these extra files provides duplicated information where they risk being out of sync. Closes #14553
show more ...
|
1e03d4bc | 13-Aug-2024 |
Jan Venekamp <1422460+jan2000@users.noreply.github.com> |
rustls: add support for setting TLS version and ciphers Add support for CURLOPT_SSLVERSION, CURLOPT_TLS13_CIPHERS and CURLOPT_SSL_CIPHER_LIST. Closes #14535 |
0d8fdd1c | 15-Aug-2024 |
Viktor Szakats |
cmake: add wolfSSH support Enable with CMake option `-DCURL_USE_WOLFSSH=ON`. Customize with `-DWOLFSSH_INCLUDE_DIR=<path-to-wolfssh>/include`, `-DWOLFSSH_LIBRARY=<path-to-wolfssh>/li
cmake: add wolfSSH support Enable with CMake option `-DCURL_USE_WOLFSSH=ON`. Customize with `-DWOLFSSH_INCLUDE_DIR=<path-to-wolfssh>/include`, `-DWOLFSSH_LIBRARY=<path-to-wolfssh>/lib/libwolfssh.a`. It requires the wolfSSL TLS backend. Closes #14568
show more ...
|
3ff147f8 | 15-Aug-2024 |
Jan Venekamp <1422460+jan2000@users.noreply.github.com> |
cmake: TLS 1.3 warning only for bearssl and sectranp Closes #14566 |
dcb51baf | 15-Aug-2024 |
Daniel Stenberg |
splay: use access functions, add asserts, use Curl_timediff - add set/get functions for the custom data in a tree node - use Curl_timediff for time comparisons instead of the custom
splay: use access functions, add asserts, use Curl_timediff - add set/get functions for the custom data in a tree node - use Curl_timediff for time comparisons instead of the custom macro, as they do the exact same things. - add asserts to catch mistakes better - updated test 1309 accordingly Closes #14562
show more ...
|
6c5a7af7 | 15-Aug-2024 |
Stefan Eissing |
scorecard: tweak request measurements Increase max-parallel up to 300, the curl max Tweak output to just give the http response code Closes #14564 |
20aa8d8f | 15-Aug-2024 |
Daniel Stenberg |
docs/internals: new subdirectory For libcurl internal APIs and concepts. Closes #14552 |
39329647 | 15-Aug-2024 |
Daniel Stenberg |
test1707: output diff more for debugging differences in CI outputs |
0066d169 | 14-Aug-2024 |
Daniel Stenberg |
managen: wordwrap long example lines in ASCII output The entire ASCII version of the manpage word wraps at a fixed column, while example command lines can easily go wider than so.
managen: wordwrap long example lines in ASCII output The entire ASCII version of the manpage word wraps at a fixed column, while example command lines can easily go wider than so. This change now makes manage work on wrapping long example command lines to make them look nicer. And also to avoid triggering the build error caused by too long lines in the output. Quoted lines cannot be wrapped, so managen now errors out if they are "too long". With this addition, the 'maxline' script is removed as it is no longer needed. Closes #14543
show more ...
|
178e8ba2 | 15-Aug-2024 |
Jan Venekamp <1422460+jan2000@users.noreply.github.com> |
cmake: fix find rustls Follow-up to 2784801977e81f68c6f87f9509e64f332d74acab #14545 Closes #14567 |
160f0233 | 15-Aug-2024 |
Daniel Stenberg |
multi: on socket callback error, remove socket hash entry nonetheless Previously an error from the callback accidentally made libcurl keep the hash entry which would lead to the entry re
multi: on socket callback error, remove socket hash entry nonetheless Previously an error from the callback accidentally made libcurl keep the hash entry which would lead to the entry remaining and then potentially getting removed *again* which would lead to internal confusions. This is an old issue (introduced in 2b3dd01b779e4eff6), caught by the new asserts from c0233a35da81. Closes #14557
show more ...
|
ef1d606d | 15-Aug-2024 |
Viktor Szakats |
libcurl.pc: add reference to `libgsasl` Closes #14556 |
b042d529 | 15-Aug-2024 |
Viktor Szakats |
tidy-up: misc spelling (bit, ASCII) Closes #14559 |