diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-08-11 18:24:35 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-08-16 18:49:37 +0200 |
commit | d94b1d80d8326334d17f6a43061368e783b8e0aa (patch) | |
tree | 7b248c4adecf84184dc823ada6f654c7e0f46f06 /test/integration/test-releasefile-verification | |
parent | ebdb6f1810a20ac240b5b2192dc2e6532ff149d2 (diff) |
don't sent Range requests if we know its not accepted
If the server told us in a previous request that it isn't supporting
Ranges with bytes via an Accept-Ranges header missing bytes, we don't
try to formulate requests using Ranges.
Diffstat (limited to 'test/integration/test-releasefile-verification')
-rwxr-xr-x | test/integration/test-releasefile-verification | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/integration/test-releasefile-verification b/test/integration/test-releasefile-verification index 82e48ffa8..fec7b1302 100755 --- a/test/integration/test-releasefile-verification +++ b/test/integration/test-releasefile-verification @@ -12,8 +12,6 @@ buildaptarchive setupflataptarchive changetowebserver -webserverconfig 'aptwebserver::support::range' 'false' - prepare() { local DATE="${2:-now}" if [ "$DATE" = 'now' ]; then |