07ab5bdd | 29-Mar-2023 |
Dan Fandrich |
getpart: better handle case of file not found |
88f1b705 | 28-Mar-2023 |
Dan Fandrich |
testcurl: bump version date It hadn't been updated in 9 years; it's time. |
0e3ae253 | 28-Mar-2023 |
Dan Fandrich |
tests: switch to 3-argument open in test suite The perl 2-argument open has been considered not-quite-deprecated since the 3-argument form was introduced almost a quarter century ago. |
b133f70a | 28-Mar-2023 |
Dan Fandrich |
tests: silence some Perl::Critic warnings in test suite Not all warnings are fixed; many are as much stylistic suggestions than anything and IMHO don't do much to actually improve the co
tests: silence some Perl::Critic warnings in test suite Not all warnings are fixed; many are as much stylistic suggestions than anything and IMHO don't do much to actually improve the code. Ref: #10818 Closes #10861
show more ...
|
b5cb9a5a | 28-Mar-2023 |
Dan Fandrich |
docs: bump the minimum perl version to 5.6 It's actually been this way since at least 2012 (when a 3-argument open was added to runtests.pl). Given the lack of complaints in the interim,
docs: bump the minimum perl version to 5.6 It's actually been this way since at least 2012 (when a 3-argument open was added to runtests.pl). Given the lack of complaints in the interim, it's safe to call this 23 year old perl version the minimum.
show more ...
|
2039253c | 24-Mar-2023 |
Dan Fandrich |
runtests: memoize the getpart* subroutines to speed up access The refactored code calls these functions with the same arguments more often, so this prevents redundant test case file pars
runtests: memoize the getpart* subroutines to speed up access The refactored code calls these functions with the same arguments more often, so this prevents redundant test case file parsing. Approved-by: Daniel Stenberg Ref: #10818 Closes #10833
show more ...
|
1f631864 | 24-Mar-2023 |
Dan Fandrich |
runtests: remove duplicated feature variables Use the feature map stored in the hash table instead. Most of the variables were only used only once, to set the value in the hash table.
runtests: remove duplicated feature variables Use the feature map stored in the hash table instead. Most of the variables were only used only once, to set the value in the hash table. Ref: #10818
show more ...
|
e06eb85b | 24-Mar-2023 |
Dan Fandrich |
runtests: also ignore test file problems when ignoring results This simplifies error handling in the test verification code and makes it more consistent. Ref: #10818 |
d792cd10 | 23-Mar-2023 |
Dan Fandrich |
runtests: more refactoring for clarity Ref: #10818 |
1ae94c09 | 23-Mar-2023 |
Dan Fandrich |
runtests: don't start servers if -l is given |
44ec1986 | 23-Mar-2023 |
Dan Fandrich |
runtests: fix typos |
53abe380 | 22-Mar-2023 |
Dan Fandrich |
runtests: refactor singletest() into separate functions This takes it from a 1200 line behemoth into something more manageable. The content and order of the functions is taken almost dir
runtests: refactor singletest() into separate functions This takes it from a 1200 line behemoth into something more manageable. The content and order of the functions is taken almost directly from singletest() so the diff sans whitespace is quite short. Ref: #10818
show more ...
|
6c0ee77c | 22-Mar-2023 |
Dan Fandrich |
runtests: refactor singletest() into distinct sections Namely: - Verify that this test case should be run - Start the servers needed to run this test case - Check that test envir
runtests: refactor singletest() into distinct sections Namely: - Verify that this test case should be run - Start the servers needed to run this test case - Check that test environment is fine to run this test case - Prepare the test environment to run this test case - Run the test command - Clean up after test command - Verify test succeeded Ref: #10818
show more ...
|
1dc3088d | 22-Mar-2023 |
Dan Fandrich |
runtests: stop copying a few arrays where not needed Unlike some other languages that just copy a pointer, perl copies the entire array contents which takes time for a large array.
runtests: stop copying a few arrays where not needed Unlike some other languages that just copy a pointer, perl copies the entire array contents which takes time for a large array. Ref: #10818
show more ...
|
d428f00d | 22-Mar-2023 |
Dan Fandrich |
runtests: reduce redundant calls to getpart/getpartattr These functions scan through the entire test file every time to find the right section, so they can be slow for large test files.
runtests: reduce redundant calls to getpart/getpartattr These functions scan through the entire test file every time to find the right section, so they can be slow for large test files. Ref: #10818
show more ...
|
dfeda775 | 22-Mar-2023 |
Dan Fandrich |
tests: document that the unittest keyword is special Also, add other features that were missing. |
6d6404ac | 30-Mar-2023 |
Stefan Eissing |
docs: add documentation for bufq Closes #10869 |
a4cedce9 | 30-Mar-2023 |
Daniel Stenberg |
RELEASE-NOTES: synced |
0ae0abbe | 07-Mar-2023 |
Matt Jolly |
hostip: refuse to resolve the .onion TLD RFC 7686 states that: > Applications that do not implement the Tor > protocol SHOULD generate an error upon the use of .onion and >
hostip: refuse to resolve the .onion TLD RFC 7686 states that: > Applications that do not implement the Tor > protocol SHOULD generate an error upon the use of .onion and > SHOULD NOT perform a DNS lookup. Let's do that. https://www.rfc-editor.org/rfc/rfc7686#section-2 Add test 1471 and 1472 to verify Fixes #543 Closes #10705
show more ...
|
67546aea | 26-Feb-2023 |
Philip Heiduck |
GHA: update ngtcp2-*.yml to v0.10.0 Closes #10612 |
f8f010e4 | 30-Mar-2023 |
Stefan Eissing |
tests/http: fix log formatting on wrong exit code Closes #10868 |
843a72b4 | 30-Mar-2023 |
Daniel Stenberg |
spellcheck.words: unify the AWS-LC spelling Follow-up to 34ef4fab22d93 Closes #10867 |
34ef4fab | 18-Jan-2023 |
Jim King |
openssl: interop with AWS-LC * Configure changes to detect AWS-LC * CMakeLists.txt changes to detect AWS-LC * Compile-time branches needed to support AWS-LC * Correctly set OSSL_
openssl: interop with AWS-LC * Configure changes to detect AWS-LC * CMakeLists.txt changes to detect AWS-LC * Compile-time branches needed to support AWS-LC * Correctly set OSSL_VERSION and report AWS-LC release number * GitHub Actions script to build with autoconf and cmake against AWS-LC AWS-LC is a BoringSSL/OpenSSL derivative For more information see https://github.com/awslabs/aws-lc/ Closes #10320
show more ...
|
1e3319a1 | 30-Mar-2023 |
Viktor Szakats |
cmake: picky-linker fixes for openssl, ZLIB, H3 and more - fix HTTP/3 support detection with OpenSSL/quictls built with ZLIB. (Requires curl be built with ZLIB option also.) -
cmake: picky-linker fixes for openssl, ZLIB, H3 and more - fix HTTP/3 support detection with OpenSSL/quictls built with ZLIB. (Requires curl be built with ZLIB option also.) - fix HTTP/3 support detection with OpenSSL/quictls/LibreSSL and `ld` linker on Windows. - fix HTTP/3 support detection with wolfSSL to automatically add `ws2_32` to the lib list on Windows. For all linkers. - reposition ZLIB (and other compression) detection _after_ TLS detection, but before calling HTTP/3-support detection via `CheckQuicSupportInOpenSSL`. May be a regression from ebef55a61df0094b9790710a42f63c48e7de3c13 May fix #10832 (Reported-by: Micah Snyder) This also seems to fix an odd case, where OpenSSL/quictls is correctly detected, but its header path is not set while compiling, breaking build at `src/curl_ntlm_core.c`. Reason for this remains undiscovered. - satisfy "picky" linkers such as `ld` with MinGW, that are highly sensitive to lib order, by also adding brotli to the beginning of the lib list. - satisfy "picky" linkers by adding certain Windows systems libs to the lib list for OpenSSL/LibreSSL. (Might need additional ones for other forks, such as `pthread` for BoringSSL.) Note: It'd make sense to _always_ add `ws2_32`, `crypt32` (except Windows App targets perhaps?), `bcrypt` (except old-mingw!) on Windows at this point. They are almost always required, and if some aren't, they are ignored by the linker with no effect on final binaries. Closes #10857
show more ...
|
b74bba9a | 10-Mar-2023 |
Stefan Eissing |
vlts: use full buffer size when receiving data if possible SSL backends like OpenSSL/wolfSSL and other return the content of one TLS record on read, but usually there are more available.
vlts: use full buffer size when receiving data if possible SSL backends like OpenSSL/wolfSSL and other return the content of one TLS record on read, but usually there are more available. Change the vtls cfilter recv() function to fill the given buffer until a read would block. Closes #10736
show more ...
|