Re: APT do not work with Squid as a proxy because of pipelining default
On Mon, May 17, 2010 at 09:54:28PM +0200, Florian Weimer wrote:
> * Petter Reinholdtsen:
>
> > I am bothered by <URL: http://bugs.debian.org/565555 >, and the fact
> > that apt(-get,itude) do not work with Squid as a proxy. I would very
> > much like to have apt work out of the box with Squid in Squeeze. To
> > fix it one can either change Squid to work with pipelining the way APT
> > uses, which the Squid maintainer and developers according to the BTS
> > report is unlikely to implement any time soon, or change the default
> > setting in apt for Aquire::http::Pipeline-Depth to zero (0). I've
> > added a file like this in /etc/apt/apt.conf.d/ to solve it locally:
> >
> > Aquire::http::Pipeline-Depth 0;
>
> Maybe it's safe to use pipelining when a proxy is not used? This is
> how things have been implemented in browsers, IIRC.
Mozilla browsers have had pipelining disabled for years, because
reality is that a whole lot of servers don't implement it properly if at
all.
Mike
Reply to: