3f0b81c1 | 25-Apr-2023 |
Patrick Monnerat |
urldata: copy CURLOPT_AWS_SIGV4 value on handle duplication Prior to this change STRING_AWS_SIGV4 (CURLOPT_AWS_SIGV4) was wrongly marked as binary data that could not be duplicated.
urldata: copy CURLOPT_AWS_SIGV4 value on handle duplication Prior to this change STRING_AWS_SIGV4 (CURLOPT_AWS_SIGV4) was wrongly marked as binary data that could not be duplicated. Without this fix, this option's value is not copied upon calling curl_easy_duphandle(). Closes https://github.com/curl/curl/pull/11021
show more ...
|
3b7a8a25 | 24-Apr-2023 |
Stefan Eissing |
http3: expire unpaused transfers in all HTTP/3 backends Closes #11005 |
5622e431 | 24-Apr-2023 |
Stefan Eissing |
http2: always EXPIRE_RUN_NOW unpaused http/2 transfers - just increasing the http/2 flow window does not necessarily make a server send new data. It may already have exhausted th
http2: always EXPIRE_RUN_NOW unpaused http/2 transfers - just increasing the http/2 flow window does not necessarily make a server send new data. It may already have exhausted the window before Closes #11005
show more ...
|
fbea71f2 | 21-Apr-2023 |
Stefan Eissing |
http2: pass `stream` to http2_handle_stream_close to avoid NULL checks Closes #11005 |
cab2d56e | 21-Apr-2023 |
Stefan Eissing |
h2/h3: replace `state.drain` counter with `state.dselect_bits` - `drain` was used by http/2 and http/3 implementations to indicate that the transfer requires send/recv independant from
h2/h3: replace `state.drain` counter with `state.dselect_bits` - `drain` was used by http/2 and http/3 implementations to indicate that the transfer requires send/recv independant from its socket poll state. Intended as a counter, it was used as bool flag only. - a similar mechanism exists on `connectdata->cselect_bits` where specific protocols can indicate something similar, only for the whole connection. - `cselect_bits` are cleard in transfer.c on use and, importantly, also set when the transfer loop expended its `maxloops` tries. `drain` was not cleared by transfer and the http2/3 implementations had to take care of that. - `dselect_bits` is cleared *and* set by the transfer loop. http2/3 does no longer clear it, only set when new events happen. This change unifies the handling of socket poll overrides, extending `cselect_bits` by a easy handle specific value and a common treatment in transfers. Closes #11005
show more ...
|
a97e4eb9 | 24-Apr-2023 |
Daniel Stenberg |
socketpair: verify with a random value ... instead of using the curl time struct, since it would use a few uninitialized bytes and the sanitizers would complain. This is a neater app
socketpair: verify with a random value ... instead of using the curl time struct, since it would use a few uninitialized bytes and the sanitizers would complain. This is a neater approach I think. Reported-by: Boris Kuschel Fixes #10993 Closes #11015
show more ...
|
2079cb26 | 25-Apr-2023 |
Stefan Eissing |
HTTP3: document the ngtcp2/nghttp3 versions to use for building curl - refs #11011 to clarify this for people building curl themselves Closes #11019 |
7815647d | 25-Apr-2023 |
Daniel Stenberg |
lib: unify the upload/method handling By making sure we set state.upload based on the set.method value and not independently as set.upload, we reduce confusion and mixup risks, both
lib: unify the upload/method handling By making sure we set state.upload based on the set.method value and not independently as set.upload, we reduce confusion and mixup risks, both internally and externally. Closes #11017
show more ...
|
e5af5b79 | 25-Apr-2023 |
Daniel Stenberg |
RELEASE-NOTES: synced |
fe61f015 | 24-Apr-2023 |
Dan Fandrich |
CI: don't run CI jobs if only another CI was changed A few paths were missed in the last commit, as well as a job added since then. Followup-to 395b9175 |
6d0d8b90 | 12-Apr-2023 |
Dan Fandrich |
CI: adjust labeler match patterns |
189f9e23 | 21-Apr-2023 |
Dan Fandrich |
runtests: support buffering log messages in runner & servers Log messages generated with logmsg can now be buffered and returned from the runner as a return value. This will be needed w
runtests: support buffering log messages in runner & servers Log messages generated with logmsg can now be buffered and returned from the runner as a return value. This will be needed with parallel testing to allow all messages for one test to be displayed together instead of interspersed with messages of multiple tests. Buffering can be disabled by setting a logging callback function with setlogfunc, which is currently being done to preserve existing logging behaviour for now. Some additional output is generated in verbose and debugprotocol modes, which don't always use logmsg. These modes also impact some servers which generate extra messages. No attempt is made to buffer everything if these modes are enabled. Ref: #10818 Closes #11016
show more ...
|
c3453dcb | 21-Apr-2023 |
Dan Fandrich |
runtests: more consistently use logmsg in server control code Also, display an error when sshversioninfo returns one. Ref: #10818 |
b88ea272 | 21-Apr-2023 |
Dan Fandrich |
runtests: create runner functions for clearlocks and stopservers runtests.pl now uses runner for all server actions beyond the initial variable configuration. Ref: #10818 |
640f4c22 | 21-Apr-2023 |
Dan Fandrich |
runtests: tightened servers package exports The defaults are intended for runtests.pl, whereas runner.pm needs to explicitly specify them. |
8da49c9e | 21-Apr-2023 |
Dan Fandrich |
runtests: display logs on server failure in singletest() This is closer to the place where logs are displayed on test failure. Also, only display these logs if -p is given, which is the
runtests: display logs on server failure in singletest() This is closer to the place where logs are displayed on test failure. Also, only display these logs if -p is given, which is the same flag that controls display of test failure logs. Some server log files need to be deleted later so that they stay around long enough to be displayed on failure. Ref: #10818
show more ...
|
90158f0b | 21-Apr-2023 |
Dan Fandrich |
runtests: turn a print into a logmsg Also enable another couple of useful messages in verbose mode. Ref: #10818 |
406cc24f | 19-Apr-2023 |
Daniel Stenberg |
http: store the password in the correct variable Typo from fc2f1e547a4a, detected by Coverity (because there's dead code due to this). Closes #11002 |
20252b77 | 20-Apr-2023 |
Stefan Eissing |
HTTP3/quiche: terminate h1 response header when no body is sent - fixes a failure in test2501 where a response without body was missing the final empty line Closes #11003 |
a8706fd8 | 21-Apr-2023 |
Dan Fandrich |
runtests: move showdiff into runtests.pl It's not used anywhere else. |
20fa5b74 | 19-Apr-2023 |
Dan Fandrich |
devtest: add a new script for testing the test harness This is currently useful for starting a test server on its own without an associated test, which can be used for interactive curl t
devtest: add a new script for testing the test harness This is currently useful for starting a test server on its own without an associated test, which can be used for interactive curl testing or for validating parts of the test harness itself. More commands can be added to perform additional functions in the future. Ref: #10818 Closes #11008
show more ...
|
a549e046 | 21-Apr-2023 |
Dan Fandrich |
runtests: refactor the main test loop into two The test loop now has an initial loop that first runs through all possible tests to build a set of those to attempt on this run based on
runtests: refactor the main test loop into two The test loop now has an initial loop that first runs through all possible tests to build a set of those to attempt on this run based on features and keywords and only then goes through that new list to run them. This actually makes it three loops through all tests cases, as there is an existing loop that gathers possible test numbers from the test files on disk. This has two minor effects on the output: all the tests that will be skipped are displayed at the start (instead of being interspersed with other tests) and the -l option no longer shows a count of tests at the end or a (misleading) statement that tests have run successfully. The skipped tests are also omitted from the test results sent to AppVeyor and Azure in CI builds. Another effect is a reduction in the amount of work considered part of the "Test definition reading and preparation time" reported with -r making those figures slightly lower than before. Ref: #10818
show more ...
|
020cf1c1 | 19-Apr-2023 |
Dan Fandrich |
runtests: track only the current test timings in runner.pm This avoids passing these data through through global variables, which soon won't be possible. Ref: #10818 |
c6e7f6c6 | 18-Apr-2023 |
Dan Fandrich |
runtests: skip test preprocessing when doing -l This speeds up the output tremendously by avoiding unnecessary work. |
6210bc01 | 18-Apr-2023 |
Dan Fandrich |
runtests: simplify value returned regarding use of valgrind As a side effect this will now also show in verbose mode that valgrind is being skipped on tests that explicitly disable it, s
runtests: simplify value returned regarding use of valgrind As a side effect this will now also show in verbose mode that valgrind is being skipped on tests that explicitly disable it, such as 600. Ref: #10818
show more ...
|