varnish-cache
varnish-cache copied to clipboard
Varnish Cache source code repository
As I was relying on the lack of -E option to discard another type of non-ESI sub-requests I recently misled myself with this assumption. It took me a while to...
As demonstrated with this patch ```diff diff --git a/vmod/vmod_debug.vcc b/vmod/vmod_debug.vcc index df8ba6247..310a046bb 100644 --- a/vmod/vmod_debug.vcc +++ b/vmod/vmod_debug.vcc @@ -69,6 +69,8 @@ $Function STRING test_priv_top(PRIV_TOP, STRING) Test function for TOP private...
This issue is intended as a platform for initial discussion towards a VSV. Please note that parts of this proposal have been suggested and discussed before, the phrase _I propose_...
Downloading the source tarbal from https://varnish-cache.org/releases/rel7.0.0.html#rel7-0-0, gives me a tarball that when compiled produces 165 test failures. ## Expected Behavior For the tests to pass after building. ## Current Behavior...
While working on request body caching improvements, it was noticed that, for chunked encoding, we do not know the request body size before we have attempted to read at least...
Consider the following test case: ```vcl varnishtest "backend fetch despite http_max_hdr overflow" server s1 { rxreq expect req.http.hdr20 == set expect req.http.hdr32 == txresp } -start varnish v1 -cliok "param.set...
This allows VUTs to either ignore SIGHUP or react to it without daemonizing. This is useful in a linux container to avoid forking a new process when the doctrine is...
See https://github.com/varnishcache/varnish-cache/issues/3765#issuecomment-1004278534. Most VRT functions to convert VCL types to `STRING` ignore workspace overflows. If they failed, that would become very problematic in `vcl_synth` where even static assignments of headers...
Static strings are unfortunately copied into workspace simply because they don't belong to it. Since it is safe to reference a static string, or at the very least a string...
As I was comparing the output of two varnishstat executions that were captured after a fresh start of varnishd followed by the workloads to compare, I realized diff(1) was giving...