varnishtest "test various custom parameter settings"
server s1 {
loop 3 {
loop 4 {
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.}
}
...
...
@@ -81,6 +81,23 @@ varnish v1 -errvcl {vfp brotli failure: new err: quality 12 out of range (0 to 1
}
}
# Large window
varnish v1 -vcl+backend {
import ${vmod_brotli};
sub vcl_init {
new mybr = brotli.decoder("unbr_largewin", large_win=true);