9eec7545 | 21-Sep-2022 |
Daniel Stenberg |
httpput-postfields.c: shorten string for C89 compliance httpput-postfields.c:41:3: error: string length ‘522’ is greater than the length ‘509’ ISO C90 compilers are required to support [-Wov
httpput-postfields.c: shorten string for C89 compliance httpput-postfields.c:41:3: error: string length ‘522’ is greater than the length ‘509’ ISO C90 compilers are required to support [-Woverlength-strings] 41 | "this chapter."; | ^~~~~~~~~~~~~~~ Closes #9555
show more ...
|
a2fa5f86 | 20-Sep-2022 |
Daniel Stenberg |
ws: fix a C89 compliance nit Closes #9541 |
6fbf7d34 | 21-Sep-2022 |
Patrick Monnerat |
unit test 1655: make it C89-compliant Initializations performed in unit test 1655 use automatic variables in aggregates and thus can only be computed at run-time. Using gcc in C89 di
unit test 1655: make it C89-compliant Initializations performed in unit test 1655 use automatic variables in aggregates and thus can only be computed at run-time. Using gcc in C89 dialect mode produces warning messages like: unit1655.c:96:7: warning: initializer element is not computable at load time [-Wpedantic] 96 | { toolong, DOH_DNS_NAME_TOO_LONG }, /* expect early failure */ | ^~~~~~~ Fix the problem by converting these automatic pointer variables to static arrays. Closes #9551
show more ...
|
8e5b1b66 | 20-Sep-2022 |
Tobias Schaefer |
curl_strequal.3: fix typo Closes #9548 |
1902e8fc | 19-Sep-2022 |
Dmitry Karpov |
resolve: make forced IPv4 resolve only use A queries This protects IPv4-only transfers from undesired bad IPv6-related side effects and make IPv4 transfers in dual-stack libcurl behave t
resolve: make forced IPv4 resolve only use A queries This protects IPv4-only transfers from undesired bad IPv6-related side effects and make IPv4 transfers in dual-stack libcurl behave the same way as in IPv4 single-stack libcurl. Closes #9540
show more ...
|
ae9e713c | 20-Sep-2022 |
Daniel Stenberg |
RELEASE-NOTES: synced |
8bc6a38c | 19-Sep-2022 |
Daniel Stenberg |
winbuild/MakefileBuild.vc: handle spaces in libssh(2) include paths Patched-by: Mark Itzcovitz Bug: https://curl.se/mail/lib-2022-09/0038.html Closes #9536 |
e9a85c46 | 19-Sep-2022 |
Daniel Stenberg |
TODO: Reduce CA certificate bundle reparsing By adding some sort of cache. Reported-by: Michael Drake Closes #9379 Closes #9538 |
4e689330 | 17-Sep-2022 |
Marc Hoersken |
CI/GHA: cancel outdated CI runs on new PR changes Avoid letting outdated CI runs continue if a PR receives new changes. Outside a PR we let them continue running by tying the concurr
CI/GHA: cancel outdated CI runs on new PR changes Avoid letting outdated CI runs continue if a PR receives new changes. Outside a PR we let them continue running by tying the concurrency to the commit hash instead. Also only let one CodeQL or Hacktoberfest job run at a time. Other CI platforms we use have this build in, but GitHub unfortunately neither by default nor with a simple option. This saves CI resources and therefore a little energy. Approved-by: Daniel Stenberg Approved-by: Max Dymond Closes #9533
show more ...
|
fda897f5 | 19-Sep-2022 |
Daniel Stenberg |
docs: fix proselint complaints |
6e0dbe84 | 19-Sep-2022 |
Daniel Stenberg |
GHA: run proselint on markdown files Co-authored-by: Marc Hörsken Closes #9520 |
660cf3d4 | 18-Sep-2022 |
Daniel Stenberg |
lib: the number four in a sequence is the "fourth" Spelling is hard Closes #9535 |
a46e4124 | 17-Sep-2022 |
John Bampton |
misc: fix spelling in two source files Closes #9529 |
6de7322c | 18-Sep-2022 |
Viktor Szakats |
windows: add .rc support to autotools builds After this update autotools builds will compile and link `.rc` resources to Windows executables. Bringing this feature on par with CMake and
windows: add .rc support to autotools builds After this update autotools builds will compile and link `.rc` resources to Windows executables. Bringing this feature on par with CMake and Makefile.m32 builds. And also making it unnecessary to improvise these steps manually, while monkey patching build files, e.g. [0]. You can customize the resource compiler via the `RC` envvar, and its options via `RCFLAGS`. This harmless warning may appear throughout the build, even though the autotools manual documents [1] `RC` as a valid tag, and it fails when omitting one: `libtool: error: ignoring unknown tag RC` [0] https://github.com/curl/curl-for-win/blob/535f19060d4b708f72e75dd849409ce50baa1b84/curl-autotools.sh#L376-L382 [1] https://www.gnu.org/software/libtool/manual/html_node/Tags.html Closes #9521
show more ...
|
e3a533f5 | 17-Sep-2022 |
Marc Hoersken |
CI/linkcheck: only run if a Markdown file is changed This saves CI resources and therefore a little energy. Reviewed-by: Max Dymond Closes #9531 |
f315b540 | 17-Sep-2022 |
Marc Hoersken |
README.md: add GHA status badges for Linux and macOS builds This makes sense now that Linux builds are being consolidated. Approved-by: Daniel Stenberg Closes #9530 [sk
README.md: add GHA status badges for Linux and macOS builds This makes sense now that Linux builds are being consolidated. Approved-by: Daniel Stenberg Closes #9530 [skip ci]
show more ...
|
307b7543 | 17-Sep-2022 |
Daniel Stenberg |
misc: null-terminate Make use of this term consistently. Closes #9527 |
db02e0e9 | 15-Sep-2022 |
Marc Hoersken |
CI/GHA: merge intel CC and more TLS libs into linux workflow Continue work on merging all Linux workflows into one file. Reviewed-by: Max Dymond Follow up to #9501 Closes #9
CI/GHA: merge intel CC and more TLS libs into linux workflow Continue work on merging all Linux workflows into one file. Reviewed-by: Max Dymond Follow up to #9501 Closes #9514
show more ...
|
7ca36f49 | 17-Sep-2022 |
Patrick Monnerat |
lib1597: make it C89-compliant again Automatic variable addresses cannot be used in an initialisation aggregate. Follow-up to 9d51329 Reported-by: Daniel Stenberg F
lib1597: make it C89-compliant again Automatic variable addresses cannot be used in an initialisation aggregate. Follow-up to 9d51329 Reported-by: Daniel Stenberg Fixes: #9524 Closes #9525
show more ...
|
9eccc613 | 17-Sep-2022 |
Daniel Stenberg |
tool_libinfo: silence "different 'const' qualifiers" in qsort() MSVC 15.0.30729.1 warned about it Follow-up to dd2a024323dcc Closes #9522 |
5261efae | 13-Sep-2022 |
Patrick Monnerat |
docs: tell about disabled protocols in CURLOPT_*PROTOCOLS_STR. Disabled protocols are now handled as if they were unknown. Also update the possible protocol list. |
dd2a0243 | 15-Sep-2022 |
Patrick Monnerat |
cli tool: do not use disabled protocols As they are now rejected by the library, take care of not passing disabled protocol names to CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS
cli tool: do not use disabled protocols As they are now rejected by the library, take care of not passing disabled protocol names to CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR. Rather than using the CURLPROTO_* constants, dynamically assign protocol numbers based on the order they are listed by curl_version_info(). New type proto_set_t implements prototype bit masks: it should therefore be large enough to accomodate all library-enabled protocols. If not, protocol numbers beyond the bit count of proto_set_t are recognized but "inaccessible": when used, a warning is displayed and the value is ignored. Should proto_set_t overflows, enabled protocols are reordered to force those having a public CURLPROTO_* representation to be accessible. Code has been added to subordinate RTMP?* protocols to the presence of RTMP in the enabled protocol list, being returned by curl_version_info() or not.
show more ...
|
9d513290 | 15-Sep-2022 |
Patrick Monnerat |
setopt: use the handler table for protocol name to number conversions This also returns error CURLE_UNSUPPORTED_PROTOCOL rather than CURLE_BAD_FUNCTION_ARGUMENT when a listed protocol na
setopt: use the handler table for protocol name to number conversions This also returns error CURLE_UNSUPPORTED_PROTOCOL rather than CURLE_BAD_FUNCTION_ARGUMENT when a listed protocol name is not found. A new schemelen parameter is added to Curl_builtin_scheme() to support this extended use. Note that disabled protocols are not recognized anymore. Tests adapted accordingly. Closes #9472
show more ...
|
1bbffa08 | 16-Sep-2022 |
Daniel Stenberg |
altsvc: use 'h3' for h3 Since the official and real version has been out for a while now and servers are deployed out there using it, there is no point in sticking to h3-29. Rep
altsvc: use 'h3' for h3 Since the official and real version has been out for a while now and servers are deployed out there using it, there is no point in sticking to h3-29. Reported-by: ウさん Fixes #9515 Closes #9516
show more ...
|
8a7ecb57 | 15-Sep-2022 |
chemodax <53048645+chemodax@users.noreply.github.com> |
winbuild: Use NMake batch-rules for compilation - Invoke cl compiler once for each group of .c files. This is significantly improves compilation time. For example in my environm
winbuild: Use NMake batch-rules for compilation - Invoke cl compiler once for each group of .c files. This is significantly improves compilation time. For example in my environment: 40 s --> 20 s. Prior to this change cl was invoked per .c file. Closes https://github.com/curl/curl/pull/9512
show more ...
|