diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-06-02 23:30:01 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-06-02 23:30:01 +0200 |
commit | 963b16dcebba149ae2c35bd255b34242923fbea0 (patch) | |
tree | cca559d95052cb3b05fb2d9cb5b36334e228949a /apt-pkg/acquire-item.cc | |
parent | b86f642111954754dd9932ed2f28a9ea85035e87 (diff) | |
download | apt-963b16dcebba149ae2c35bd255b34242923fbea0.tar.gz |
implement Fail-Ignore bool in FetchItem that tells the method that a failure of this item is ok and does not need to be tried on all mirrors
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r-- | apt-pkg/acquire-item.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index a959253bc..3cc2c8717 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -822,6 +822,13 @@ pkgAcqIndexTrans::pkgAcqIndexTrans(pkgAcquire *Owner, { } /*}}}*/ +// AcqIndexTrans::Custom600Headers - Insert custom request headers /*{{{*/ +// --------------------------------------------------------------------- +string pkgAcqIndexTrans::Custom600Headers() +{ + return "\nFail-Ignore: true"; +} + /*}}}*/ // AcqIndexTrans::Failed - Silence failure messages for missing files /*{{{*/ // --------------------------------------------------------------------- /* */ |