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

Bug#28172: marked as done (HTTP Proxy cache refresh should be forced for corrupt packages)



Your message dated Sat, 20 Mar 1999 02:57:41 -0600 (CST)
with message-id <Pine.LNX.3.96.990320024921.891T-100000@doogie.p2.private.novare.net>
and subject line Uploaded apt 0.3.2 (source i386 all) to master (fwd)
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 19 Oct 1998 04:59:46 +0000
Received: (qmail 11936 invoked from network); 19 Oct 1998 04:59:45 -0000
Received: from 5019baccus.popsite.net (HELO yelm.east.bacchus.com) (ccwf@207.240.250.235)
  by master.debian.org with SMTP; 19 Oct 1998 04:59:45 -0000
Received: (from ccwf@localhost)
	by yelm.east.bacchus.com (8.9.1a/8.9.1/Debian/GNU) id VAA23936;
	Sun, 18 Oct 1998 21:59:11 -0700
Date: Sun, 18 Oct 1998 21:59:11 -0700
Message-Id: <199810190459.VAA23936@yelm.east.bacchus.com>
From: "Charles C. Fu" <ccwf@bacchus.com>
To: submit@bugs.debian.org
Subject: HTTP Proxy cache refresh should be forced for corrupt packages

Package: apt
Version: 0.1.7

If apt uses a proxy and detects that a package is corrupt (for
example, detecting a MD5 checksum mismatch or an appropriate error
while unpacking), then steps need to be taken to ensure that bad data
in any intermediate caches is flushed.  Otherwise, apt often winds up
getting the same corrupt package over and over.

A possible strategy is to track which packages are corrupt and, on
the next download, include a 'Cache-Control: no-cache' header for
HTTP/1.1 proxies and/or a 'Pragma: no-cache' for HTTP/1.0 proxies
to force intermediate caches to obtain a new copy ('Cache-Control:
max-age=0' is not sufficient).

Eventually, if the proposed HTCP protocol is widely deployed by
proxies, it might be possible to use that mechanism to ask the proxies
to delete their copies of corrupt packages.

-ccwf


Reply to: