2d453399 | 05-Nov-2022 |
Daniel Stenberg |
docs/EARLY-RELEASE.md: how to determine an early release URL: https://curl.se/mail/lib-2022-10/0079.html Closes #9820 |
6b6667c5 | 03-Nov-2022 |
Daniel Stenberg |
RELEASE-NOTES: synced |
c2fecfbf | 03-Nov-2022 |
Zespre Schmidt |
docs: add missing parameters for --retry flag Closes #9848 |
84e2ca7e | 03-Nov-2022 |
Adam Averay |
libcurl-errors.3: remove duplicate word Closes #9846 |
6c51adeb | 02-Nov-2022 |
Eric Vigeant |
cur_path: do not add '/' if homedir ends with one When using SFTP and a path relative to the user home, do not add a trailing '/' to the user home dir if it already ends with one.
cur_path: do not add '/' if homedir ends with one When using SFTP and a path relative to the user home, do not add a trailing '/' to the user home dir if it already ends with one. Closes #9844
show more ...
|
3390ef0a | 01-Nov-2022 |
Viktor Szakats |
windows: fail early with a missing windres in autotools `windres` is not always auto-detected by autotools when building for Windows. When this happened, the build failed with a confusin
windows: fail early with a missing windres in autotools `windres` is not always auto-detected by autotools when building for Windows. When this happened, the build failed with a confusing error due to the empty `RC` command: ``` /bin/bash ../libtool --tag=RC --mode=compile -I../include -DCURL_EMBED_MANIFEST -i curl.rc -o curl.o [...] Usage: /sandbox/curl/libtool [OPTION]... [MODE-ARG]... Try 'libtool --help' for more information. libtool: error: unrecognised option: '-I../include' ``` Improve this by verifying if `RC` is set, and fail with a clear error otherwise. Follow-up to 6de7322c03d5b4d91576a7d9fc893e03cc9d1057 Ref: https://curl.se/mail/lib-2022-10/0049.html Reported-by: Thomas Glanzmann Closes #9781
show more ...
|
edae6c66 | 01-Nov-2022 |
Viktor Szakats |
lib: sync guard for Curl_getaddrinfo_ex() definition and use `Curl_getaddrinfo_ex()` gets _defined_ with `HAVE_GETADDRINFO` set. But, `hostip4.c` _used_ it with `HAVE_GETADDRINFO_THREADS
lib: sync guard for Curl_getaddrinfo_ex() definition and use `Curl_getaddrinfo_ex()` gets _defined_ with `HAVE_GETADDRINFO` set. But, `hostip4.c` _used_ it with `HAVE_GETADDRINFO_THREADSAFE` set alone. It meant a build with the latter, but without the former flag could result in calling this function but not defining it, and failing to link. Patch this by adding an extra check for `HAVE_GETATTRINFO` around the call. Before this patch, build systems prevented this condition. Now they don't need to. While here, simplify the related CMake logic on Windows by setting `HAVE_GETADDRINFO_THREADSAFE` to the detection result of `HAVE_GETADDRINFO`. This expresses the following intent clearer than the previous patch and keeps the logic in a single block of code: When we have `getaddrinfo()` on Windows, it's always threadsafe. Follow-up to 67d88626d44ec04b9e11dca4cfbf62cd29fe9781 Reviewed-by: Jay Satiro Closes #9734
show more ...
|
b563a92c | 01-Nov-2022 |
Viktor Szakats |
tidy-up: process.h detection and use This patch aims to cleanup the use of `process.h` header and the macro `HAVE_PROCESS_H` associated with it. - `process.h` is always availabl
tidy-up: process.h detection and use This patch aims to cleanup the use of `process.h` header and the macro `HAVE_PROCESS_H` associated with it. - `process.h` is always available on Windows. In curl, it is required only for `_beginthreadex()` in `lib/curl_threads.c`. - `process.h` is also available in MS-DOS. In curl, its only use was in `lib/smb.c` for `getpid()`. But `getpid()` is in fact declared by `unistd.h`, which is always enabled via `lib/config-dos.h`. So the header is not necessary. - `HAVE_PROCESS_H` was detected by CMake, forced to 1 on Windows and left to real detection for other platforms. It was also set to always-on in `lib/config-win32.h` and `lib/config-dos.h`. In autotools builds, there was no detection and the macro was never set. Based on these observations, in this patch we: - Rework Windows `getpid` logic in `lib/smb.c` to always use the equivalent direct Win32 API function `GetCurrentProcessId()`, as we already did for Windows UWP apps. This makes `process.h` unnecessary here on Windows. - Stop #including `process.h` into files where it was not necessary. This is everywhere, except `lib/curl_threads.c`. > Strangely enough, `lib/curl_threads.c` compiled fine with autotools > because `process.h` is also indirecty included via `unistd.h`. This > might have been broken in autotools MSVC builds, where the latter > header is missing. - Delete all remaining `HAVE_PROCESS_H` feature guards, for they were unnecessary. - Delete `HAVE_PROCESS_H` detection from CMake and predefined values from `lib/config-*.h` headers. Reviewed-by: Jay Satiro Closes #9703
show more ...
|
480ac6e5 | 31-Oct-2022 |
Daniel Stenberg |
lib1301: unit103 turned into a libtest It is not a unit test so moved over to libtests. |
3f039dfd | 31-Oct-2022 |
Daniel Stenberg |
strcase: use curl_str(n)equal for case insensitive matches No point in having two entry points for the same functions. Also merged the *safe* function treatment into these so that t
strcase: use curl_str(n)equal for case insensitive matches No point in having two entry points for the same functions. Also merged the *safe* function treatment into these so that they can also be used when one or both pointers are NULL. Closes #9837
show more ...
|
7399fa5b | 30-Oct-2022 |
Daniel Stenberg |
README.md: remove badges and xmas-tree garnish URL: https://curl.se/mail/lib-2022-10/0050.html Closes #9833 |
3b9af11c | 31-Oct-2022 |
Patrick Monnerat |
gen.pl: do not generate CURLHELP bitmask lines > 79 characters If a command line option is in many help categories, there is a risk that CURLHELP bitmask source lines generated for listh
gen.pl: do not generate CURLHELP bitmask lines > 79 characters If a command line option is in many help categories, there is a risk that CURLHELP bitmask source lines generated for listhelp are longer than 79 characters. This change takes care of folding such long lines. Cloes #9834
show more ...
|
65bdd6ba | 15-Oct-2022 |
Marc Hoersken |
CI/cirrus: remove superfluous double-quotes and sudo Follow up to #9565 and #9677 Closes #9738 |
666bad45 | 24-Oct-2022 |
Marc Hoersken |
tests/sshserver.pl: re-enable ssh-rsa while using openssh 8.8+ Ref: #9738 |
52cc4a85 | 30-Oct-2022 |
Daniel Stenberg |
style: use space after comment start and before comment end /* like this */ /*not this*/ checksrc is updated accordingly Closes #9828 |
b8c302dc | 30-Oct-2022 |
Patrick Schlangen |
docs: remove performance note in CURLOPT_SSL_VERIFYPEER This note became obsolete since PR #7892 (see also discussion in the PR comments). Closes #9832 |
02186a66 | 30-Oct-2022 |
Daniel Stenberg |
tests/server: make use of strcasecompare from lib/ ... instead of having a second private implementation. Idea triggered by #9830 Closes #9831 |
a55256cf | 27-Oct-2022 |
Daniel Stenberg |
curl: timeout in the read callback The read callback can timeout if there's nothing to read within the given maximum period. Example use case is when doing "curl -m 3 telnet://exampl
curl: timeout in the read callback The read callback can timeout if there's nothing to read within the given maximum period. Example use case is when doing "curl -m 3 telnet://example.com" or anything else that expects input on stdin or similar that otherwise would "hang" until something happens and then not respect the timeout. This fixes KNOWN_BUG 8.1, first filed in July 2009. Bug: https://sourceforge.net/p/curl/bugs/846/ Closes #9815
show more ...
|
b830f9ba | 28-Oct-2022 |
Daniel Stenberg |
noproxy: fix tail-matching Also ignore trailing dots in both host name and comparison pattern. Regression in 7.86.0 (from 1e9a538e05c0) Extended test 1614 to verify better.
noproxy: fix tail-matching Also ignore trailing dots in both host name and comparison pattern. Regression in 7.86.0 (from 1e9a538e05c0) Extended test 1614 to verify better. Reported-by: Henning Schild Fixes #9821 Closes #9822
show more ...
|
d4fed2a1 | 27-Oct-2022 |
Daniel Stenberg |
docs: explain the noproxy CIDR notation support Follow-up to 1e9a538e05c0107c Closes #9818 |
a3063fe0 | 27-Oct-2022 |
Jon Rumsey |
os400: use platform socklen_t in Curl_getnameinfo_a Curl_getnameinfo_a() is prototyped before including curl.h as an ASCII'fied wrapper for getnameinfo(), which itself is prototyped with
os400: use platform socklen_t in Curl_getnameinfo_a Curl_getnameinfo_a() is prototyped before including curl.h as an ASCII'fied wrapper for getnameinfo(), which itself is prototyped with socklen_t arguments, so this should use the platform socklen_t and not curl_socklen_t too. Update setup-os400.h Fixes #9811 Closes #9812
show more ...
|
efc286b7 | 27-Oct-2022 |
Daniel Stenberg |
noproxy: also match with adjacent comma If the host name is an IP address and the noproxy string contained that IP address with a following comma, it would erroneously not match.
noproxy: also match with adjacent comma If the host name is an IP address and the noproxy string contained that IP address with a following comma, it would erroneously not match. Extended test 1614 to verify this combo as well. Reported-by: Henning Schild Fixes #9813 Closes #9814
show more ...
|
fc8d6b23 | 27-Oct-2022 |
Randall S. Becker |
build: fix for NonStop - Include arpa/inet.h in all units where htonl is called. Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Closes https://github.com/curl/cu
build: fix for NonStop - Include arpa/inet.h in all units where htonl is called. Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Closes https://github.com/curl/curl/pull/9816
show more ...
|
1e522853 | 27-Oct-2022 |
Randall S. Becker |
system.h: support 64-bit curl_off_t for NonStop 32-bit - Correctly define curl_off_t on NonStop (ie __TANDEM) ia64 and x86 for 32-bit builds. Signed-off-by: Randall S. Becker
system.h: support 64-bit curl_off_t for NonStop 32-bit - Correctly define curl_off_t on NonStop (ie __TANDEM) ia64 and x86 for 32-bit builds. Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca> Closes https://github.com/curl/curl/pull/9817
show more ...
|
19bfaca7 | 27-Oct-2022 |
Daniel Stenberg |
spellcheck.words: remove 'github' as an accepted word Prefer the properly cased version: GitHub Use markdown for links and GitHub in text. Closes #9810 |