[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt with index diff support

* Michael Vogt:

> When fully supported by the archive, the diff support will be
> completely transparent, no changes on your side necessary.

When downloading the Index file, APT does not send instructions to
bypass the proxy cache:

T -> [AP]
  GET /debian/dists/experimental/main/source/Sources.diff/Index HTTP/1.1..Hos
  t: proxy.enyo.de:9999..Connection: keep-alive..User-Agent: Debian APT-HTTP/
  1.3....GET /debian/dists/unstable/main/binary-i386/Packages.bz2 HTTP/1.1..H
  ost: proxy.enyo.de:9999..Connection: keep-alive..Range: bytes=246835-..If-R
  ange: Fri, 28 Oct 2005 19:18:20 GMT..User-Agent: Debian APT-HTTP/1.3....   

(This is with apt

This means that apt-proxy (and probably other proxies as well) returns
a stale copy.  Sure, this could be fixed on the proxy side, but I
think to actually achieve the transparency you are aiming at, you have
to implement a workaround in APT.

(Apart from that, I can only repeated what I already wrote a couple of
weeks ago: Nice work.)

Reply to: