- 26 Jun, 2023 3 commits
-
-
Walid Boudebouda authored
pthread_* calls don't set errno but return it instead. This cocci patch ensures we always use PTOK macro that sets errno in case of pthread calls failures.
-
Walid Boudebouda authored
-
Poul-Henning Kamp authored
-
- 23 Jun, 2023 3 commits
-
-
Nils Goroll authored
this happened on one of the uplex linux vtesters which runs gcc and clang in parallel un-namespaced * top VTEST Abstract UDS backend: change path, drop poll ** top === feature abstract_uds **** dT 0.004 ** top === server s1 -listen "@vtc.s1.sock" { ** s1 Starting server ---- s1 Server listen address (@vtc.s1.sock) cannot be resolved: bind(2)
-
Nils Goroll authored
to have available a unique string for concurrently running tests which is not a path.
-
Nils Goroll authored
from the log: ** top === shell -exit 1 -expect {failing as requested} { **** top shell_cmd|exec 2>&1 ; **** top shell_cmd|\tvarnishadm -n /root/VT/_vtest_tmp/vtc.37277.0dc3c11b/v1 vcl.load f1 /root/VT/_vtest_tmp/vtc.37277.0dc3c11b/f1 **** dT 27.789 **** v1 vsl| 0 CLI - Rd vcl.load f1 vcl_f1.1686893821.277415/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 62 VCL "f1" Failed initialization Message: failing as requested **** dT 27.893 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1686893826 1.0 **** dT 32.987 **** top shell_out|CLI communication error (hdr) **** top shell_status = 0x0002 ---- top shell_exit not as expected: got 0x0002 wanted 0x0001 * top RESETTING after ../../../../bin/varnishtest/tests/m00000.vtc **** dT 32.988
-
- 22 Jun, 2023 1 commit
-
-
Nils Goroll authored
-
- 20 Jun, 2023 1 commit
-
-
Poul-Henning Kamp authored
in the most diff-friendly way. If Mark Adler ever decides that the 21st century is real thing, we will adopt his diff. This should allow us to revert 79c7d175
-
- 16 Jun, 2023 6 commits
-
-
Nils Goroll authored
Varnish historians claim to have evidence that the odd wording "from mgt_param" could have been an unintended side effect of a struct rename in ancient times at around 2011. (82411494)
-
Nils Goroll authored
To keep things simple, the open delay is global - the delay of the last debug stevedore applies to all of them.
-
Nils Goroll authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
With the recent change to stream the request body to the backend like chunked encoding does, even when we know the content length, two test cases became sensitive to the timing of window updates. The data frames contain for the most part a 16kB payload, which happens to be the same as fetch_chunksize's default value. With a value of 64kB, corresponding to one more byte than the default h2 initial window, we are garanteed to never risk a race between the VFP consuming the h2_rxbuf and the h2_sess task monitoring it to send window updates. This is also a good occasion to exercise stream.peer_window in t02019. Refs #3878 Refs #3934
-
- 14 Jun, 2023 1 commit
-
-
Poul-Henning Kamp authored
-
- 13 Jun, 2023 8 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
Seen while staring at #3937
-
Nils Goroll authored
Format individual subroutines as code, add a trailing period.
-
Nils Goroll authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 12 Jun, 2023 8 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
This was meant to be tested by 054215b5, but the test did not attempt to receive a second chunk, so it succeeded when it should not have. Fixes #3938
-
Walid Boudebouda authored
When VCC is run, some temporary files are generated during the process and are cleaned up at the end. The cleanup tries to remove all the files that are supposed to be generated and displays a "Could not delete 'vcl_...': No such file or directory" message if it fails to find one of them. The error happens when VCC fails before generating the file(s). This commit avoids the bogus messages by ignoring ENOENT if VCC failed. Fixes #3925
-
Walid Boudebouda authored
-
Dridi Boukelmoune authored
It's about time...
-
Dridi Boukelmoune authored
The --enable-maintainer-mode option has been used in autogen.des for a while now and it has allowed automatic reconfiguration and hot reload of makefiles. For the next step, we can turn certain programs into maintainer programs and only require them when they are absolutely needed. This is what we currently do with SVG files generated from dot files, checked in git and optionally required, with an error message when rebuild is not possible. It turns out we only need 3 lines in configure.ac to implement all that, with the following differences: - no more `./configure --with-dot[=...]` option - use `./configure DOT=...` to override the default `dot` command - or alternatively run configure with `DOT=...` in the environment - generic missing error message (but referencing dot) from make - no need to reconfigure once `dot` is in the PATH The DOT override is actually documented in `./configure --help` like the `--with-dot[=...]` option was. While dot is our most emblematic maintainer tool, with its build targets checked in all the way in the git repository, this could be applied to other maintainer programs like sphinx-build and rst2man that should not be required when building from a dist archive.
-
Dridi Boukelmoune authored
We don't need to render witness.svg in CI, even if dot(1) is available.
-
Dridi Boukelmoune authored
Should we give it an explicit ETIMEDOUT in the dripping write case?
-
- 09 Jun, 2023 2 commits
-
-
Dridi Boukelmoune authored
Better diff with the --word-diff --word-diff-regex=. options.
-
Dridi Boukelmoune authored
This is to ensure we don't lose write errors by the time we make the final checks.
-
- 08 Jun, 2023 2 commits
-
-
Nils Goroll authored
-
Dridi Boukelmoune authored
Instead of trying to allocate storage for the entire request body when the content length is known, let it go in fetch_chunksize steps. This may prevent spurious cache evictions for large request bodies for pass transactions when we are merely streaming the body. On the other hand, when the content length is known and the goal is to cache the request body, we may still attempt a single allocation and all that entails.
-
- 07 Jun, 2023 5 commits
-
-
Nils Goroll authored
Also motivated by #3935
-
Nils Goroll authored
motivated by #3935
-
Nils Goroll authored
https://editorconfig.org/
-
Dridi Boukelmoune authored
Spotted by Coverity Scan. Refs #3914
-
Dridi Boukelmoune authored
Refs #3929
-