Comment 0 for bug 1751225

Revision history for this message
Seyeong Kim (seyeongkim) wrote :

[Impact]

When using redirect url on /etc/apt/sources.list

apt update command hangs

this is affected with commit
https://anonscm.debian.org/git/apt/apt.git/commit/?id=dd547ebaffd2aceb42e2908f1d5f0ab386af6cb1

In my test, moving below[1] code after[2]

[1]
###
if (ContentLength == 0)
    return true;
###
[2]
if (Encoding == Closes)
    Encoding = Stream;

###

it worked fine.

[Test Case]

echo "deb http://packages.cloudfoundry.org/debian stable main" > /etc/apt/sources.list.d/cloudfoundry-cli.list

apt update

[Regression]
TBD