- 11 Jul, 2022 2 commits
-
-
Nils Goroll authored
std.now() fills a gap left by the stable time of the now variable in VCL: Sometimes we need to know the current time after some longer processing in VCL. std.timed_call() is intended to measure longer operations in VCL. std.timestamp() exists already to add accurate measurements to the log. std.timed_call() is for cases where the duration is required in VCL, for example to enrich HTTP requests/responses.
-
Nils Goroll authored
-
- 04 Jul, 2022 4 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 28 Jun, 2022 5 commits
-
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
I found myself needing this option to incrementally build a query and a format on a large VSL compressed file. Because of the small nature of the ncsa output I was working with and the narrow query I was refining, and the decompression delay, it would take forever to complete this pipeline: zcat '...' | varnishncsa -r - -g request -q '...' -F '...' | head -n 5 With the -k option it happens instantly. Alternatively, it could probably have worked also with the -u option, but it wouldn't be a one-liner change, and it would also result in a more complex command: zcat '...' | varnishncsa -r - -g request -q '...' -F '...' -k 5 # vs zcat '...' | varnishncsa -r - -g request -q '...' -F '...' -u | head -n 5 The -k option would also generally be useful in "live" mode.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 27 Jun, 2022 9 commits
-
-
Dridi Boukelmoune authored
Better diff with the --word-diff --word-diff-regex=. options.
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
The vcc_feature parameter is in charge of translating param.set calls from the alias name to the bit flag. On the other hand param.show will defer to the generic alias display. With this change we lose the "camel case" functions used to set those bits through functions between mgt and libvcc. The functions were renamed VCC_Opt_<lowercase> to look more appropriate than "all_lower" or "ALL_UPPER".
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
It currently has no effect besides showing up in the CLI. Refs #3269
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
Instead of simply resolving the original parameter and passing it on pristine to its tweak, build an intermediary param spec that has all the properties of the original with the name of the alias. This enables special handling of deprecated aliases with their replacements.
-
Dridi Boukelmoune authored
The debug stevedore only acts as a wrapper around the malloc storage, so it proxies its initialization method. The allocation of av isn't tracked so it leaks when it runs out of scope, along with the copies of values assigned to the array. Since a reference to aav is kept in stevedore::av, we can safely pass direct references to arguments to the underlying malloc storage instead of copies. Spotted by asan.
-
- 24 Jun, 2022 3 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
-
Dridi Boukelmoune authored
We don't want to list ephemeral backends when we load a new VCL after getting some s0 traffic.
-
- 23 Jun, 2022 3 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 21 Jun, 2022 1 commit
-
-
Poul-Henning Kamp authored
-
- 20 Jun, 2022 6 commits
-
-
Nils Goroll authored
While, before this change, subrequests would see the Transfer-Encoding on the client side, I could not find a case where this caused any harm, so this change, presumably, is only to prevent potential future issues.
-
Nils Goroll authored
Make sure subrequests to not see Content-Length / Transfer-Encoding
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
In other news: I've gotten much better at writing python.
-
Dridi Boukelmoune authored
Otherwise forks may attempt to run coveriy scan builds only to fail and spam their owners.
-
- 03 Jun, 2022 2 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 01 Jun, 2022 4 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 31 May, 2022 1 commit
-
-
Nils Goroll authored
Only momentarily until we understand and fix the newly introduced issues. This reverts commit f0ee94ec. Ref #3813 Reopen #3761
-