]> granicus.if.org Git - curl/commit
HTTP: Don't attempt to needlessly decompress redirect body
authorHarry Sintonen <sintonen@iki.fi>
Thu, 26 Jul 2018 22:04:29 +0000 (01:04 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 31 Jul 2018 15:10:22 +0000 (17:10 +0200)
commit1836d59ed8a3f052a3fa6aa676c10721d8b57492
treef980fd207f92add10674ef7b2a3a76be9b779d82
parente78f2cfe56c39a6c32191c207aae683de0e9a042
HTTP: Don't attempt to needlessly decompress redirect body

This change fixes a regression where redirect body would needlessly be
decompressed even though it was to be ignored anyway. As it happens this
causes secondary issues since there appears to be a bug in apache2 that
it in certain conditions generates a corrupt zlib response. The
regression was created by commit:
dbcced8e32b50c068ac297106f0502ee200a1ebd

Discovered-by: Harry Sintonen
Closes #2798
lib/transfer.c