Matt Zimmerman writes: > severity 274978 important > merge 290694 274978 > thanks > > On Sun, Jan 16, 2005 at 01:20:41AM +0100, Lothar Wassmann wrote: > > Package: apt > > Version: 0.5.27 > > Severity: important > > > > Hi, > > > > retrieving packages with apt-get via an HTTP proxy (e.g. apt-proxy) > > that uses "Transfer-Encoding: chunked" leads to random data corruption > > in the retrieved package files and an error message: > > I think you're describing the same bug as #274978; please take a look and > see if you can confirm this. > No, it seems to be different to me. In my case the chunk encoding is removed properly, the retrieved .deb file has the correct size, but the contents is garbled.
But I found the problem described in bug 152711 that was referenced from 274978. None of the fixes proposed there obviously has been applied to the current version of apt in 'testing', though the last message claims to have fixed this bug in apt-0.5.25 (current is 0.5.27). And the routine CirclBuf::WriteTillEl() in http.cc from the apt source package 0.5.27 is definitely still buggy and will eat up a <CR> that happens to appear right at the beginning of a data chunk. Lothar Wassmann

