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

Bug#76766: apt-get transparent proxy anomalies




On Sat, 11 Nov 2000, Nico Galoppo wrote:

> It shows several 'connection: close' lines, corresponding to apt-get
> 'Bad Header Line' prompts. I currently use the ftp method, because the
> http method doesn't work for me.

I see what the problem is. I'm pretty sure it is a bug in your proxy that
I cannot work around. It is returning:

HTTP/1.0 400 Bad Request
Cache-Control: no-cache
Pragma: no-cache

And then proceeds to jam an error message in after that. The problem is
that it did not indicate that it was including content and content at this
point is optional. So APT parses the HTML it returns as a header and
freaks out. They need to stick a content-type header in and set the
connection closes header. 

As for why it is returning bad request, that is probably due to them
having buggy pipelining support. Try setting pipelining to zero.

Call your ISP and complain, there is probably a software upgrade available
by now.

Jason




Reply to: