Commit 7c14e6a4 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Enable range support by default

parent 10a2ab5f
...@@ -812,7 +812,7 @@ static const struct parspec input_parspec[] = { ...@@ -812,7 +812,7 @@ static const struct parspec input_parspec[] = {
{ "http_range_support", tweak_bool, &master.http_range_support, 0, 0, { "http_range_support", tweak_bool, &master.http_range_support, 0, 0,
"Enable support for HTTP Range headers.\n", "Enable support for HTTP Range headers.\n",
EXPERIMENTAL, EXPERIMENTAL,
"off", "bool" }, "on", "bool" },
{ "http_gzip_support", tweak_bool, &master.http_gzip_support, 0, 0, { "http_gzip_support", tweak_bool, &master.http_gzip_support, 0, 0,
"Enable gzip support. When enabled Varnish will compress " "Enable gzip support. When enabled Varnish will compress "
"uncompressed objects before they are stored in the cache. " "uncompressed objects before they are stored in the cache. "
......
...@@ -9,6 +9,7 @@ server s1 { ...@@ -9,6 +9,7 @@ server s1 {
varnish v1 -vcl+backend { varnish v1 -vcl+backend {
} -start } -start
varnish v1 -cliok "param.set http_range_support off"
client c1 { client c1 {
txreq -hdr "Range: bytes=0-9" txreq -hdr "Range: bytes=0-9"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment