varnishtest "test various custom parameter settings"
server s1 {
loop 7 {
loop 10 {
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.}
}
...
...
@@ -166,6 +166,53 @@ varnish v1 -errvcl {vfp brotli failure: new err: lgwin 25 out of range (10 to 24
}
}
# mode
varnish v1 -vcl+backend {
import ${vmod_brotli};
sub vcl_init {
new mybr = brotli.encoder("br_generic", mode=GENERIC);