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

Bug#48627: marked as done (apt dislikes HTTP/1.0 proxies)



Your message dated Fri, 29 Oct 1999 14:14:51 -0600 (MDT)
with message-id <[🔎] Pine.LNX.3.96.991029141020.30468m-100000@localhost>
and subject line Bug#48627: apt dislikes HTTP/1.0 proxies
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 am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Oct 1999 07:51:57 +0000
Received: (qmail 29637 invoked from network); 29 Oct 1999 07:51:56 -0000
Received: from smtp01.oce.nl (HELO oce.nl) (134.188.1.25)
  by master.debian.org with SMTP; 29 Oct 1999 07:51:56 -0000
Received: (from uucp@localhost)
	by oce.nl (8.9.0/8.9.0) id JAA26279
	for submit@bugs.debian.org; Fri, 29 Oct 1999 09:51:27 +0200 (MET DST)
>Received: from pc1-adve.oce.nl (pc1-adve.oce.nl [134.188.176.32])
	by smtp02.oce.nl (8.9.3/8.9.3) with ESMTP id JAA05471
	for <submit@bugs.debian.org>; Fri, 29 Oct 1999 09:45:10 +0200 (MET DST)
Received: from localhost by pc1-adve.oce.nl
	via sendmail with smtp
	id <m11h6ik-000qDEC@pc1-adve.oce.nl> (Debian Smail3.2.0.102)
	for <submit@bugs.debian.org>; Fri, 29 Oct 1999 09:45:10 +0200 (CEST) 
Date: Fri, 29 Oct 1999 09:45:10 +0200 (CEST)
From: Arjan van de Ven <adve@oce.nl>
To: submit@bugs.debian.org
Subject: apt dislikes HTTP/1.0 proxies
Message-ID: <[🔎] Pine.LNX.3.96.991029094234.10859A-100000@pc1-adve.oce.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Package: apt
Version: 0.3.13

The http method seems to violate rfc's when using a HTTP/1.0
proxy. The next request is sent before the first request if fully 
retrieved. This is OK for HTTP/1.1 but according to the latest HTTP rfc,
it shouldn't. This causes problems with the proxy my employer uses.




---------------------------------------
Received: (at 48627-done) by bugs.debian.org; 29 Oct 1999 20:56:28 +0000
Received: (qmail 24743 invoked from network); 29 Oct 1999 20:56:28 -0000
Received: from pilsener.srv.ualberta.ca (129.128.5.19)
  by master.debian.org with SMTP; 29 Oct 1999 20:56:28 -0000
Received: from localhost (async16-4.remote.ualberta.ca [129.128.237.13])
	by pilsener.srv.ualberta.ca (8.9.3/8.9.3) with ESMTP id OAA25654;
	Fri, 29 Oct 1999 14:56:17 -0600 (MDT)
Received: from localhost [127.0.0.1] (jgg)
	by localhost with smtp (Exim 2.11 #1)
	id 11hIQF-00044S-00 (Debian); Fri, 29 Oct 1999 14:14:51 -0600
Date: Fri, 29 Oct 1999 14:14:51 -0600 (MDT)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@localhost
To: Arjan van de Ven <adve@oce.nl>, 48627-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#48627: apt dislikes HTTP/1.0 proxies
In-Reply-To: <[🔎] Pine.LNX.3.96.991029094234.10859A-100000@pc1-adve.oce.nl>
Message-ID: <[🔎] Pine.LNX.3.96.991029141020.30468m-100000@localhost>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Fri, 29 Oct 1999, Arjan van de Ven wrote:

> The http method seems to violate rfc's when using a HTTP/1.0
> proxy. The next request is sent before the first request if fully 

No, this is not true. The HTTP/1.1 RFC talks about assumptions with regard
to proxies and keep alive, APT does more or less follow them. The problem
is that your proxy is not HTTP/1.0 complient (let alone 1.1!) and does not
stop parsing the request after the trailing \r\n sequence. So it sees the
pipelined second request and panics.

You should be able to get around this by using -o
acquire::http::pipeline-depth=0 as noted in the man page.

Jason


Reply to: