varnishtest "test various custom parameter settings"
server s1 {
loop 4 {
loop 5 {
rxreq
txresp -body {Man is distinguished, not only by his reason, but by this singular passion from other animals, which is a lust of the mind, that by a perseverance of delight in the continued and indefatigable generation of knowledge, exceeds the short vehemence of any carnal pleasure.}
}
...
...
@@ -98,6 +98,24 @@ varnish v1 -vcl+backend {
client c1 -run
# Encoder with large_win only works if the decoder is also set to
# large_win=true.
varnish v1 -vcl+backend {
import ${vmod_brotli};
sub vcl_init {
new br_large = brotli.encoder("br_largewin", large_win=true);
new unbr_large = brotli.decoder("unbr_largewin", large_win=true);