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

Bug#378868: apt: http method uses absoluteURI when Proxy is set to "false"



Package: apt
Version: 0.6.44.2
Severity: wishlist

On a freshly installed etch (from an 20060716 d-i snapshot) if you didn't
select a proxy during the install, you end up with
  Acquire::http::Proxy "false";
in your /etc/apt/apt.conf. IMO the installer should put nothing there in this
case, and this may be the real bug.

The effect of this setting is that apt does not use a proxy, *but* uses
absoluteURI in its requests like so:

  GET http://server/path HTTP/1.1
  Host: server
  ...

RFC2616 says that clients should only use this form to talk to proxies,
although it also requires servers to accept this form... In practise this form
creates problems with some "strict" (IMO broken) firewalls.

If the Proxy config is removed entirely, the usual abs_path is used instead:

  GET /path HTTP/1.1
  Host: server
  ...

Severity is debatable. It does break downloading sometimes, although it
shouldn't be a problem if all the /other/ components (http server, transparent
proxy, firewalls) are RFC-compliant.

TIA,
-- 
Robbe



Reply to: