diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2021-09-16 19:33:24 +0200 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2021-09-16 22:38:46 +0200 |
| commit | 61c1d7d3658fdcd4b32f8b071cef7941120f8abc (patch) | |
| tree | 0c98275aabc5b839becc3b5d589d62b9f67a6595 /doc/examples | |
| parent | 883a12310a4130370965eab0a710a2c8fae6cc09 (diff) | |
Add AllowRange option to disable HTTP Range usage
apt makes heavy usage of HTTP1.1 features including Range and If-Range.
Sadly it is not obvious if the involved server(s) (and proxies) actually
support them all. The Acquire::http::AllowRange option defaults to true
as before, but now a user can disable Range usage if it is known that
the involved server is not dealing with such requests correctly.
Diffstat (limited to 'doc/examples')
| -rw-r--r-- | doc/examples/configure-index | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 4eca100f5..d519e010b 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -281,7 +281,8 @@ Acquire Timeout "30"; ConnectionAttemptDelayMsec "250"; Pipeline-Depth "5"; - AllowRedirect "true"; + AllowRanges "<BOOL>"; + AllowRedirect "<BOOL>"; // Cache Control. Note these do not work with Squid 2.0.2 No-Cache "false"; @@ -304,11 +305,11 @@ Acquire SslCert "/etc/apt/some.pem"; CaPath "/etc/ssl/certs"; Verify-Host "true"; - AllowRedirect "true"; + AllowRanges "<BOOL>"; + AllowRedirect "<BOOL>"; Timeout "30"; ConnectionAttemptDelayMsec "250"; - AllowRedirect "true"; // Cache Control. Note these do not work with Squid 2.0.2 No-Cache "false"; |
