Yes, 24.0+dfsg-1ubuntu1.3+esm2 works as expected!

The diff between the diff between 1.3 and 1.3+esm1 and between 1.3 and
1.3+esm2 shows that +esm2 rolled back the max_length changes.

I eventually found (and subscribed to) #2154576, but kept this open
because it seemed like they were interested in eventually rolling the
max_length change forward again, and I thought my explanation might be
helpful. The explanation in #2154576 is incorrect — the unconsumed tail
is persisted between decompression calls, HTTPResponse.read() simply
stops draining the decompressor once the last compressed chunk has been
downloaded.

total uncompressed size:  146458
total compressed size:     37524

read 10240 B compressed from TLS (remaining = 27284 B)
feed 10240 B compressed into zlib (becoming ~39936 B uncompressed)
read 10240 B decompressed from zlib (leaving ~29696 B inside zlib)

read 10240 B compressed from TLS (remaining = 17044 B)
feed 10240 B compressed into zlib (adding another ~39936 B, now ~69632 in zlib)
read 10240 B decompressed from zlib (leaving ~59392 B inside zlib)

read 10240 B compressed from TLS (remaining = 6804 B)
feed 10240 B compressed into zlib (adding another ~39936 B, now ~99328 in zlib)
read 10240 B decompressed from zlib (leaving ~89088 B inside zlib)

read 6804 B compressed from TLS (remaining = 0 B)
feed 6804 B compressed into zlib (adding another ~26535 B, now 115738 in zlib)
read 10240 B decompressed from zlib (leaving 105498 B inside zlib)

read 0 B compressed from TLS
signal end of file — even though there is still over 100 kB inside zlib's buffer

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154599

Title:
  pip install -U pip does not run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/2154599/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to