5e8d921f | 11-Jun-2024 |
Daniel Stenberg |
openssl: shortcut store_expired for negative timeouts Avoid some unnecessary computation if the timeout is negative. Spotted by CodeSonar Closes #13919 |
a945393e | 11-Jun-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
d69ee3ef | 07-Jun-2024 |
Daniel Stenberg |
curl: support -w '%{num_retries} Suggested-by: Jay Guerette Ref: https://github.com/curl/curl/discussions/13901 Closes #13910 |
b55c56a7 | 10-Jun-2024 |
Guilherme Puida |
pytest: include testenv/vsftpd.py in dist tarball Closes #13918 |
5a0b0f81 | 10-Jun-2024 |
Viktor Szakats |
DISTROS: add MSYS2 (native) links Also rename existing 'MSYS2' to 'MSYS2 (mingw-w64)'. Closes #13915 |
0a3c78f6 | 10-Jun-2024 |
Daniel Stenberg |
tool_writeout: get certinfo only when needing it Removes a fairly expensive libcurl call when not necessary Closes #13914 |
4464c9f2 | 10-Jun-2024 |
Daniel Stenberg |
tool_writeout: bsearch the variable name As the list of variable names grows, doing a simple loop to find the name get increasingly worse. This switches to a bsearch. Also: do a
tool_writeout: bsearch the variable name As the list of variable names grows, doing a simple loop to find the name get increasingly worse. This switches to a bsearch. Also: do a case sensitive check for the variable name. The names have not been documented to be case insensitive and there is no point in having them so. Closes #13914
show more ...
|
374d178f | 06-Jun-2024 |
Stefan Eissing |
multi: prepare multi_wait() for future shutdown usage - new struct curl_pollfds and struct curl_waitfds - add structs and methods to init/add/cleanup an array of pollfd and struct
multi: prepare multi_wait() for future shutdown usage - new struct curl_pollfds and struct curl_waitfds - add structs and methods to init/add/cleanup an array of pollfd and struct curl_waitfd. Use in multi_wait() and multi_waitfds() to populate the sets for polling. - place USE_WINSOCK WSAEventSelect() setting into a separate loop over all collected pfds Closes #13900
show more ...
|
c31041b1 | 07-Jun-2024 |
Stefan Eissing |
connection: shutdown TLS (for FTP) better This adds connection shutdown infrastructure and first use for FTP. FTP data connections, when not encountering an error, are now shut down in a
connection: shutdown TLS (for FTP) better This adds connection shutdown infrastructure and first use for FTP. FTP data connections, when not encountering an error, are now shut down in a blocking way with a 2sec timeout. - add cfilter `Curl_cft_shutdown` callback - keep a shutdown start timestamp and timeout at connectdata - provide shutdown timeout default and member in `data->set.shutdowntimeout`. - provide methods for starting, interrogating and clearing shutdown timers - provide `Curl_conn_shutdown_blocking()` to shutdown the `sockindex` filter chain in a blocking way. Use that in FTP. - add `Curl_conn_cf_poll()` to wait for socket events during shutdown of a connection filter chain. This gets the monitoring sockets and events via the filters "adjust_pollset()" methods. This gives correct behaviour when shutting down a TLS connection through a HTTP/2 proxy. - Implement shutdown for all socket filters - for HTTP/2 and h2 proxying to send GOAWAY - for TLS backends to the best of their capabilities - for tcp socket filter to make a final, nonblocking receive to avoid unwanted RST states - add shutdown forwarding to happy eyeballers and https connect ballers when applicable. Closes #13904
show more ...
|
7d934267 | 07-Jun-2024 |
Daniel Stenberg |
CURLOPT_CONNECTTIMEOUT*: clarify, document the milliseond version Provide an explanation in the CURLOPT_CONNECTTIMEOUT_MS page instead of just referring to the non-MS version. C
CURLOPT_CONNECTTIMEOUT*: clarify, document the milliseond version Provide an explanation in the CURLOPT_CONNECTTIMEOUT_MS page instead of just referring to the non-MS version. Closes #13905
show more ...
|
9fb759f9 | 07-Jun-2024 |
Daniel Stenberg |
cmdline-opts: tidy up --ip-tos and --mptcp To make them render nicer in the manpage and minor polish. Closes #13906 |
be90943f | 07-Jun-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
ab6d5442 | 04-Apr-2024 |
Dorian Craps |
curl: (on linux) add MPTCP support Multipath TCP (MPTCP), standardized in RFC8684 [1], is a TCP extension that enables a TCP connection to use different paths. Multipath TCP has
curl: (on linux) add MPTCP support Multipath TCP (MPTCP), standardized in RFC8684 [1], is a TCP extension that enables a TCP connection to use different paths. Multipath TCP has been used for several use cases. On smartphones, MPTCP enables seamless handovers between cellular and Wi-Fi networks while preserving established connections. This use-case is what pushed Apple to use MPTCP since 2013 in multiple applications [2]. On dual-stack hosts, Multipath TCP enables the TCP connection to automatically use the best performing path, either IPv4 or IPv6. If one path fails, MPTCP automatically uses the other path. To benefit from MPTCP, both the client and the server have to support it. Multipath TCP is a backward-compatible TCP extension that is enabled by default on recent Linux distributions (Debian, Ubuntu, Redhat, ...). Multipath TCP is included in the Linux kernel since version 5.6 [3]. To use it on Linux, an application must explicitly enable it when creating the socket. No need to change anything else in the application. This attached patch adds an --mptcp option which allows the creation of an MPTCP socket instead of TCP on Linux. If Multipath TCP is not supported on the system, an error will be reported. It is important to note that if the end server doesn't support MPTCP, the connection will continue after a seamless fallback to TCP. Link: https://www.rfc-editor.org/rfc/rfc8684.html [1] Link: https://www.tessares.net/apples-mptcp-story-so-far/ [2] Link: https://www.mptcp.dev [3] Co-developed-by: Dorian Craps (@CrapsDorian) <doriancraps@gmail.com> Co-developed-by: Olivier Bonaventure (@obonaventure) <Olivier.Bonaventure@uclouvain.be> Co-developed-by: Matthieu Baerts (@matttbe) <matttbe@kernel.org> Signed-off-by: Dorian Craps <dorian.craps@student.vinci.be> Closes #13278
show more ...
|
3c20ae08 | 12-May-2024 |
Orgad Shaneh |
curl: support IP Type of Service / Traffic Class: --ip-tos Add --ip-tos option to the command line tool for setting TOS for IPv4 or Traffic Class for IPv6. Closes #13606 |
f786fce9 | 05-Jun-2024 |
Andy Pan |
socketpair: provide `Curl_socketpair` only when `!CURL_DISABLE_SOCKETPAIR` Ref: https://curl.se/dev/log.cgi?id=20240605035856-3529577 Reported-by: Marcel Raad Closes #13888 |
4e71f134 | 06-Jun-2024 |
Daniel Stenberg |
noproxy: test bad ipv6 net size first No need to parse anything if the size is out of range. Added some tests to this effect to test 1614. Closes #13902 |
b9c2a56b | 05-Jun-2024 |
Daniel Stenberg |
managen: warn on excessively long help texts Help texts at 49 characters or longer get a warning displayed because they make --help output uglier and we should make an effort to keep the
managen: warn on excessively long help texts Help texts at 49 characters or longer get a warning displayed because they make --help output uglier and we should make an effort to keep the help texts short and succinct. The warning is only for display, it does not break the build. That is left for the future if necessary. I picked 49 because the longest current text is 48. Closes #13895
show more ...
|
72abf7c1 | 02-Jun-2024 |
Viktor Szakats |
lib: tidy up types and casts Cherry-picked from #13489 Closes #13862 |
ad837e9d | 05-Jun-2024 |
Daniel Stenberg |
cmdline-opts/ech.md: shorten the help text To make --help look sensible again Closes #13894 |
5bfd0cd9 | 05-Jun-2024 |
Daniel Stenberg |
cmdline-opts/_PROTOCOLS.md: mention WS(S) Closes #13891 |
dfbf2b7a | 05-Jun-2024 |
Viktor Szakats |
GHA: disable TFTP and WebSockets tests in old-mingw-w64 Follow-up to 03bd16e5339b069aa9409b75fcab2b21fd3a4b16 #13860 Follow-up to def7d05382743ea7aa1d356d1e41dcb22ecdd4d7 |
5e2e470f | 05-Jun-2024 |
Daniel Stenberg |
cmdline-opts/fail.md: expand and clarify Closes #13890 |
881e9a61 | 05-Jun-2024 |
Daniel Stenberg |
doh-insecure.md: expand Closes #13889 |
65651dc0 | 05-Jun-2024 |
Daniel Stenberg |
cmdline: expand proxy option explanations - do less references to other options - provide more specific text about proxies - added more see-also references Closes #13887 |
6ceb23dc | 05-Jun-2024 |
Daniel Stenberg |
cmdline-opts: expand the parallel explanations Closes #13886 |